aboutsummaryrefslogtreecommitdiffhomepage
path: root/nix-overlays
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2024-12-15 14:08:42 -0500
committerRalph Amissah <ralph.amissah@gmail.com>2024-12-15 14:09:01 -0500
commit54f64693b73e58dae20493fc738a798efc371c01 (patch)
tree5819d05deff813f3e560a44d39662ae20685b826 /nix-overlays
parentflake.nix, removed flake-utils (diff)
nix build, flake.nix ldc2-1.40.0
Diffstat (limited to 'nix-overlays')
-rw-r--r--nix-overlays/README6
-rw-r--r--nix-overlays/ldc/package.nix8
2 files changed, 7 insertions, 7 deletions
diff --git a/nix-overlays/README b/nix-overlays/README
index ff0b5bb..f23f837 100644
--- a/nix-overlays/README
+++ b/nix-overlays/README
@@ -16,7 +16,7 @@ compiler and build tools: ldc, dub and dtools, than exist in nixpkgs at the time
of publishing, in some cases with additional fixes.
nix overlays for (updates nixpkgs, more recent versions of):
- - ldc ( 1.30.0 -> 1.39.0 )
+ - ldc ( 1.30.0 -> 1.40.0 )
- dub ( 1.23.0 -> 1.38.1 ) [for nix versions 1.31.0 ... 1.33.0 broken]
- dtools ( 2.095.1 -> 2.103.1 )
@@ -47,13 +47,13 @@ search nixpkgs here:
- https://search.nixos.org/packages?channel=unstable&from=0&size=100&sort=relevance&query=
** compilers
-*** ldc OK ✓ ( 1.30.0 -> 1.39.0 )
+*** ldc OK ✓ ( 1.30.0 -> 1.40.0 )
- https://wiki.dlang.org/LDC
- https://github.com/ldc-developers/ldc
- https://github.com/ldc-developers/ldc/releases
- nix-prefetch-url --unpack https://github.com/ldc-developers/ldc/archive/refs/tags/v1.39.0.tar.gz
+ nix-prefetch-url --unpack https://github.com/ldc-developers/ldc/archive/refs/tags/v1.40.0.tar.gz
- https://github.com/ldc-developers/ldc/issues
- version in nixpkgs:
diff --git a/nix-overlays/ldc/package.nix b/nix-overlays/ldc/package.nix
index 112a9ee..c20084c 100644
--- a/nix-overlays/ldc/package.nix
+++ b/nix-overlays/ldc/package.nix
@@ -3,7 +3,7 @@
, fetchFromGitHub
, cmake
, ninja
-, llvm_18
+, llvm_19
, curl
, tzdata
, lit
@@ -30,13 +30,13 @@ in
stdenv.mkDerivation (finalAttrs: {
pname = "ldc";
- version = "1.39.0";
+ version = "1.40.0";
src = fetchFromGitHub {
owner = "ldc-developers";
repo = "ldc";
rev = "v${finalAttrs.version}";
- hash = "sha256-ZiG0ATsY6Asu2nus3Y404fvqIwtKYoHl1JRUDU5A6mo=";
+ hash = "sha256-LT85DlAebecPpBUgZP0ayKTVrTUqN6DMJVEWTatLOxY=";
fetchSubmodules = true;
};
@@ -62,7 +62,7 @@ stdenv.mkDerivation (finalAttrs: {
'';
nativeBuildInputs = [
- cmake ldcBootstrap lit lit.python llvm_18.dev makeWrapper ninja unzip
+ cmake ldcBootstrap lit lit.python llvm_19.dev makeWrapper ninja unzip
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
darwin.apple_sdk.frameworks.Foundation
] ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [