Loading pkgs/by-name/ld/ldc/bootstrap.nix +5 −9 Original line number Diff line number Diff line Loading @@ -14,17 +14,13 @@ let OS = if hostPlatform.isDarwin then "osx" else hostPlatform.parsed.kernel.name; ARCH = if hostPlatform.isDarwin && hostPlatform.isAarch64 then "arm64" else hostPlatform.parsed.cpu.name; # Work around macOS Sequoia 15.4 segfault by downgrading the bootstrap compiler - see: # - https://github.com/NixOS/nixpkgs/issues/398443 # - https://github.com/dlang/dmd/issues/21126#issuecomment-2775948553 # TODO: Remove this when bootstrap can be upgraded to a fixed version (>= 1.41.0-beta2)? version = if hostPlatform.isDarwin then "1.28.1" else "1.30.0"; version = "1.41.0"; hashes = { # Get these from `nix store prefetch-file https://github.com/ldc-developers/ldc/releases/download/v1.19.0/ldc2-1.19.0-osx-x86_64.tar.xz` etc.. osx-x86_64 = "sha256-mqQ+hNlDePOGX2mwgEEzHGiOAx3SxfNA6x8+ML3qYmw="; linux-x86_64 = "sha256-V4TUzEfQhFrwiX07dHOgjdAoGkzausCkhnQIQNAU/eE="; linux-aarch64 = "sha256-kTeglub75iv/jWWNPCn15aCGAbmck0RQl6L7bFOUu7Y="; osx-arm64 = "sha256-m93rGywncBnPEWslcrXuGBnZ+Z/mNgLIaevkL/uBOu0="; osx-x86_64 = "sha256-W8/0i2PFakXbqs2wxb3cjqa+htSgx7LHyDGOBH9yEYE="; linux-x86_64 = "sha256-SkOUV/D+WeadAv1rV1Sfw8h60PVa2fueQlB7b44yfI8="; linux-aarch64 = "sha256-HEuVChPVM3ntT1ZDZsJ+xW1iYeIWhogNcMdIaz6Me6g="; osx-arm64 = "sha256-FXJnBC8QsEchBhkxSqcZtPC/iHYB6TscY0qh7LPFRuQ="; }; in stdenv.mkDerivation { Loading pkgs/by-name/ld/ldc/package.nix +2 −13 Original line number Diff line number Diff line Loading @@ -32,30 +32,19 @@ in stdenv.mkDerivation (finalAttrs: { pname = "ldc"; version = "1.40.1"; version = "1.41.0"; src = fetchFromGitHub { owner = "ldc-developers"; repo = "ldc"; rev = "v${finalAttrs.version}"; hash = "sha256-WdnwdH25A5oMNNY3uWG2hxnaAT+S1hNuP7LElH3uuuk="; hash = "sha256-6LcpY3LSFK4KgEiGrFp/LONu5Vr+/+vI04wEEpF3s+s="; fetchSubmodules = true; }; # https://issues.dlang.org/show_bug.cgi?id=19553 hardeningDisable = [ "fortify" ]; # Fix output programs segfaulting on macOS Sequoia 15.4 - see: # https://github.com/NixOS/nixpkgs/issues/398443 # https://github.com/ldc-developers/ldc/issues/4899 # TODO: Remove this when upgrading to a fixed version (>= 1.41.0-beta2) patches = [ (fetchpatch { url = "https://github.com/ldc-developers/ldc/commit/60079c3b596053b1a70f9f2e0cf38a287089df56.patch"; hash = "sha256-Y/5+zt5ou9rzU7rLJq2OqUxMDvC7aSFS6AsPeDxNATQ="; }) ]; postPatch = '' patchShebangs runtime tools tests Loading Loading
pkgs/by-name/ld/ldc/bootstrap.nix +5 −9 Original line number Diff line number Diff line Loading @@ -14,17 +14,13 @@ let OS = if hostPlatform.isDarwin then "osx" else hostPlatform.parsed.kernel.name; ARCH = if hostPlatform.isDarwin && hostPlatform.isAarch64 then "arm64" else hostPlatform.parsed.cpu.name; # Work around macOS Sequoia 15.4 segfault by downgrading the bootstrap compiler - see: # - https://github.com/NixOS/nixpkgs/issues/398443 # - https://github.com/dlang/dmd/issues/21126#issuecomment-2775948553 # TODO: Remove this when bootstrap can be upgraded to a fixed version (>= 1.41.0-beta2)? version = if hostPlatform.isDarwin then "1.28.1" else "1.30.0"; version = "1.41.0"; hashes = { # Get these from `nix store prefetch-file https://github.com/ldc-developers/ldc/releases/download/v1.19.0/ldc2-1.19.0-osx-x86_64.tar.xz` etc.. osx-x86_64 = "sha256-mqQ+hNlDePOGX2mwgEEzHGiOAx3SxfNA6x8+ML3qYmw="; linux-x86_64 = "sha256-V4TUzEfQhFrwiX07dHOgjdAoGkzausCkhnQIQNAU/eE="; linux-aarch64 = "sha256-kTeglub75iv/jWWNPCn15aCGAbmck0RQl6L7bFOUu7Y="; osx-arm64 = "sha256-m93rGywncBnPEWslcrXuGBnZ+Z/mNgLIaevkL/uBOu0="; osx-x86_64 = "sha256-W8/0i2PFakXbqs2wxb3cjqa+htSgx7LHyDGOBH9yEYE="; linux-x86_64 = "sha256-SkOUV/D+WeadAv1rV1Sfw8h60PVa2fueQlB7b44yfI8="; linux-aarch64 = "sha256-HEuVChPVM3ntT1ZDZsJ+xW1iYeIWhogNcMdIaz6Me6g="; osx-arm64 = "sha256-FXJnBC8QsEchBhkxSqcZtPC/iHYB6TscY0qh7LPFRuQ="; }; in stdenv.mkDerivation { Loading
pkgs/by-name/ld/ldc/package.nix +2 −13 Original line number Diff line number Diff line Loading @@ -32,30 +32,19 @@ in stdenv.mkDerivation (finalAttrs: { pname = "ldc"; version = "1.40.1"; version = "1.41.0"; src = fetchFromGitHub { owner = "ldc-developers"; repo = "ldc"; rev = "v${finalAttrs.version}"; hash = "sha256-WdnwdH25A5oMNNY3uWG2hxnaAT+S1hNuP7LElH3uuuk="; hash = "sha256-6LcpY3LSFK4KgEiGrFp/LONu5Vr+/+vI04wEEpF3s+s="; fetchSubmodules = true; }; # https://issues.dlang.org/show_bug.cgi?id=19553 hardeningDisable = [ "fortify" ]; # Fix output programs segfaulting on macOS Sequoia 15.4 - see: # https://github.com/NixOS/nixpkgs/issues/398443 # https://github.com/ldc-developers/ldc/issues/4899 # TODO: Remove this when upgrading to a fixed version (>= 1.41.0-beta2) patches = [ (fetchpatch { url = "https://github.com/ldc-developers/ldc/commit/60079c3b596053b1a70f9f2e0cf38a287089df56.patch"; hash = "sha256-Y/5+zt5ou9rzU7rLJq2OqUxMDvC7aSFS6AsPeDxNATQ="; }) ]; postPatch = '' patchShebangs runtime tools tests Loading