Skip to content

Commit

Permalink
Merge pull request #230827 from amjoseph-nixpkgs/zhf/dmd
Browse files Browse the repository at this point in the history
dmd: build using gcc11Stdenv
  • Loading branch information
Adam Joseph authored May 10, 2023
2 parents 8ab3c70 + 38a03e1 commit b53b2f2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions pkgs/development/compilers/dmd/binary.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ in stdenv.mkDerivation {
tzdata
] ++ lib.optionals hostPlatform.isLinux [
glibc
stdenv.cc.cc.libgcc
];

installPhase = ''
Expand Down
7 changes: 5 additions & 2 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6838,9 +6838,12 @@ with pkgs;

dleyna-server = callPackage ../development/libraries/dleyna-server { };

dmd = callPackage ../development/compilers/dmd {
dmd = callPackage ../development/compilers/dmd ({
inherit (darwin.apple_sdk.frameworks) Foundation;
};
} // lib.optionalAttrs stdenv.isLinux {
# https://github.com/NixOS/nixpkgs/pull/206907#issuecomment-1527034123
stdenv = gcc11Stdenv;
});

dmg2img = callPackage ../tools/misc/dmg2img { };

Expand Down

0 comments on commit b53b2f2

Please sign in to comment.