diff options
| author | Ralph Amissah <ralph.amissah@gmail.com> | 2026-08-27 18:06:18 -0400 |
|---|---|---|
| committer | Ralph Amissah <ralph.amissah@gmail.com> | 2026-08-28 10:42:56 -0400 |
| commit | 44f4c3fa1115f34b25af9d1518cde9de0e70c06c (patch) | |
| tree | 77e96cfefe7c11747a5d494ab38090fe0c5c04ed /nix-overlays/ldc/package.nix | |
| parent | run test-abstraction-ssp.sh update (diff) | |
dlang related nixpkgs overlay updates
- dmd 2.112.1
- ldc 1.43.0 beta1
- dub 1.41.0
- dtools 2.112.1
Diffstat (limited to 'nix-overlays/ldc/package.nix')
| -rw-r--r-- | nix-overlays/ldc/package.nix | 29 |
1 files changed, 22 insertions, 7 deletions
diff --git a/nix-overlays/ldc/package.nix b/nix-overlays/ldc/package.nix index 00b41cd..5439e27 100644 --- a/nix-overlays/ldc/package.nix +++ b/nix-overlays/ldc/package.nix @@ -2,7 +2,6 @@ lib, stdenv, fetchFromGitHub, - fetchpatch, callPackage, makeWrapper, removeReferencesTo, @@ -64,7 +63,14 @@ stdenv.mkDerivation (finalAttrs: { ''; nativeBuildInputs = [ - cmake ldcBootstrap lit lit.python llvm_22.dev makeWrapper ninja unzip + cmake + ldcBootstrap + lit + lit.python + llvm_22.dev + makeWrapper + ninja + unzip ] ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [ # https://github.com/NixOS/nixpkgs/pull/36378#issuecomment-385034818 gdb @@ -138,8 +144,6 @@ stdenv.mkDerivation (finalAttrs: { find $out/bin -type f -exec ${removeReferencesTo}/bin/remove-references-to -t ${ldcBootstrap} '{}' + ''; - # doCheck = false; - disallowedReferences = [ ldcBootstrap ]; meta = with lib; { @@ -147,10 +151,21 @@ stdenv.mkDerivation (finalAttrs: { homepage = "https://github.com/ldc-developers/ldc"; changelog = "https://github.com/ldc-developers/ldc/releases/tag/v${finalAttrs.version}"; # from https://github.com/ldc-developers/ldc/blob/master/LICENSE - license = with licenses; [ bsd3 boost mit ncsa gpl2Plus ]; + license = with licenses; [ + bsd3 + boost + mit + ncsa + gpl2Plus + ]; mainProgram = "ldc2"; maintainers = with maintainers; [ lionello jtbx ]; - platforms = [ "x86_64-linux" "i686-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ]; + platforms = [ + "x86_64-linux" + "i686-linux" + "aarch64-linux" + "aarch64-darwin" + ]; }; passthru.ldcBootstrap = ldcBootstrap; @@ -182,7 +197,7 @@ stdenv.mkDerivation (finalAttrs: { # references to the compiler binaries. no-references-to-compiler = helloWorld.overrideAttrs { disallowedReferences = [ ldc ]; - dFlags = ["-g"]; + dFlags = [ "-g" ]; }; }; }) |
