From e3c627ca2e99a11f4bde806b8f4d23521e47565a Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Thu, 9 May 2024 09:46:05 -0400 Subject: nix dlang overlay ldc-1.38.0-beta1 - ldc-1.38.0-beta1 (DMD v2.108.0, LLVM 18.1.5) --- nix-overlays/README | 6 +++--- nix-overlays/ldc/default.nix | 4 ++-- nix-overlays/ldc/generic.nix | 4 ++-- org/nixpkgs_overlays_d_related.org | 27 ++++++++++++++++++++++++--- 4 files changed, 31 insertions(+), 10 deletions(-) diff --git a/nix-overlays/README b/nix-overlays/README index 01ad9e7..14b1e15 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.37.0 ) + - ldc ( 1.30.0 -> 1.38.0-beta1 ) - 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.37.0 ) +*** ldc OK ✓ ( 1.30.0 -> 1.38.0-beta1 ) - 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.37.0.tar.gz + nix-prefetch-url --unpack https://github.com/ldc-developers/ldc/archive/refs/tags/v1.38.0-beta1.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 2e194e4..184f3e2 100644 --- a/nix-overlays/ldc/default.nix +++ b/nix-overlays/ldc/default.nix @@ -1,4 +1,4 @@ import ./generic.nix { - version = "1.37.0"; - sha256 = "sha256-UOgK48Q2yQY3wsPUDzktwotyH3qrOh48o79PnCjboGQ="; + version = "1.38.0-beta1"; + sha256 = "sha256-E/IJvQJrSbeajv2qTMi0rTQmupO7p0r4b/EJ4BHKBnc="; } diff --git a/nix-overlays/ldc/generic.nix b/nix-overlays/ldc/generic.nix index 2fd779a..bc21974 100644 --- a/nix-overlays/ldc/generic.nix +++ b/nix-overlays/ldc/generic.nix @@ -1,5 +1,5 @@ { version, sha256 }: -{ lib, stdenv, fetchurl, cmake, ninja, llvm_17, curl, tzdata +{ lib, stdenv, fetchurl, cmake, ninja, llvm_18, curl, tzdata , libconfig, lit, gdb, unzip, darwin, bash , callPackage, makeWrapper, runCommand, targetPackages , ldcBootstrap ? callPackage ./bootstrap.nix { } @@ -54,7 +54,7 @@ stdenv.mkDerivation rec { ''; nativeBuildInputs = [ - cmake ldcBootstrap lit lit.python llvm_17.dev makeWrapper ninja unzip + cmake ldcBootstrap lit lit.python llvm_18.dev makeWrapper ninja unzip ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ darwin.apple_sdk.frameworks.Foundation diff --git a/org/nixpkgs_overlays_d_related.org b/org/nixpkgs_overlays_d_related.org index ac1331b..8c162cb 100644 --- a/org/nixpkgs_overlays_d_related.org +++ b/org/nixpkgs_overlays_d_related.org @@ -783,17 +783,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.38 +***** 1.38.0 (beta) + +- 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/releases/download/v${version}/ldc-${version}-src.tar.gz + +#+NAME: ldc_version_1_38_0 +#+BEGIN_SRC nix +1.38.0-beta1 +#+END_SRC + +#+NAME: ldc_hash_1_38_0 +#+BEGIN_SRC nix +sha256-E/IJvQJrSbeajv2qTMi0rTQmupO7p0r4b/EJ4BHKBnc= +#+END_SRC + +#+NAME: ldc_llvm_set_1_38_0 +#+BEGIN_SRC nix +llvm_18 #+END_SRC **** 1.37 OK ✓ -- cgit v1.2.3