mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 03:12:51 +00:00
Merge pull request #280470 from trofi/dmd-eval
dmd: improve eval failure on `pkgsLLVM` package set
This commit is contained in:
commit
276d6dde1a
@ -5,7 +5,12 @@ let
|
||||
inherit (stdenv) hostPlatform;
|
||||
OS = if hostPlatform.isDarwin then "osx" else hostPlatform.parsed.kernel.name;
|
||||
MODEL = toString hostPlatform.parsed.cpu.bits;
|
||||
in stdenv.mkDerivation {
|
||||
in
|
||||
|
||||
# On linux pargets like `pkgsLLVM.dmd` `cc` does not expose `libgcc`
|
||||
# and can't build `dmd`.
|
||||
assert hostPlatform.isLinux -> (stdenv.cc.cc ? libgcc);
|
||||
stdenv.mkDerivation {
|
||||
pname = "dmd-bootstrap";
|
||||
inherit version;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user