From 928142ad4aaa42a4ee7a0593649e4655fea547dc Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Thu, 4 Jul 2024 13:01:10 -0400 Subject: nix dlang overlay ldc-1.39.0 --- nix-overlays/README | 6 +++--- nix-overlays/ldc/default.nix | 4 ++-- org/nixpkgs_overlays_d_related.org | 30 ++++++++++++++++++++++++++---- 3 files changed, 31 insertions(+), 9 deletions(-) diff --git a/nix-overlays/README b/nix-overlays/README index c540931..44e76b6 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.38.0 ) + - ldc ( 1.30.0 -> 1.39.0 ) - dub ( 1.23.0 -> 1.36.0 ) [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.38.0 ) +*** ldc OK ✓ ( 1.30.0 -> 1.39.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.38.0.tar.gz + nix-prefetch-url --unpack https://github.com/ldc-developers/ldc/archive/refs/tags/v1.39.0.tar.gz - https://github.com/ldc-developers/ldc/issues - version in nixpkgs: diff --git a/nix-overlays/ldc/default.nix b/nix-overlays/ldc/default.nix index a6ef777..1f18529 100644 --- a/nix-overlays/ldc/default.nix +++ b/nix-overlays/ldc/default.nix @@ -1,4 +1,4 @@ import ./generic.nix { - version = "1.38.0"; - sha256 = "sha256-ymI47+Ai40zTB2dB+KBwxqN3GWNRxhlJpIpIyZN5844="; + version = "1.39.0"; + sha256 = "sha256-g5usNvYHMxjjbwsWN2fgO9vT9X2ZJWuXSUrEObWaRWI="; } diff --git a/org/nixpkgs_overlays_d_related.org b/org/nixpkgs_overlays_d_related.org index 69bede8..5eedd71 100644 --- a/org/nixpkgs_overlays_d_related.org +++ b/org/nixpkgs_overlays_d_related.org @@ -328,7 +328,8 @@ direnv fetchurl https://raw.githubusercontent.com/nix-community/nix-direnv/${Nix self, nixpkgs, flake-utils, - } @ inputs: let + ... + }@inputs: let name = "dev-dub"; shell = ./shell.nix; devEnv = ./nixDevEnv.sh; # ./.envrc; @@ -783,17 +784,38 @@ sha256 = "<>"; #+NAME: ldc_version #+BEGIN_SRC nix -<> +<> #+END_SRC #+NAME: ldc_hash #+BEGIN_SRC nix -<> +<> #+END_SRC #+NAME: ldc_llvm_set #+BEGIN_SRC nix -<> +<> +#+END_SRC + +**** 1.39 OK ✓ +***** 1.39.0 OK ✓ + +- 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/releases/download/v${version}/ldc-${version}-src.tar.gz + +#+NAME: ldc_version_1_39_0 +#+BEGIN_SRC nix +1.39.0 +#+END_SRC + +#+NAME: ldc_hash_1_39_0 +#+BEGIN_SRC nix +sha256-g5usNvYHMxjjbwsWN2fgO9vT9X2ZJWuXSUrEObWaRWI= +#+END_SRC + +#+NAME: ldc_llvm_set_1_39_0 +#+BEGIN_SRC nix +llvm_18 #+END_SRC **** 1.38 OK ✓ -- cgit v1.2.3