diff options
author | Jonathan Ringer <jonringer117@gmail.com> | 2020-03-31 10:34:24 -0700 |
---|---|---|
committer | Jon <jonringer@users.noreply.github.com> | 2020-03-31 10:54:56 -0700 |
commit | 0f9e2ba04d345039cec361c9c6a5f8a3942dfc3b (patch) | |
tree | 1ede7dbdaae92d484937f45851d3a6f2fffd6b69 /pkgs/development/compilers/ldc | |
parent | 10993853d4ed377e5e2392998a7dd3c345f9e9f0 (diff) |
ldc: inherit python interpreter from lit
Diffstat (limited to 'pkgs/development/compilers/ldc')
-rw-r--r-- | pkgs/development/compilers/ldc/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/compilers/ldc/default.nix b/pkgs/development/compilers/ldc/default.nix index c397d02038daf..7ed716bf866fe 100644 --- a/pkgs/development/compilers/ldc/default.nix +++ b/pkgs/development/compilers/ldc/default.nix @@ -1,5 +1,5 @@ { stdenv, fetchurl, cmake, ninja, llvm_5, llvm_8, curl, tzdata -, python, libconfig, lit, gdb, unzip, darwin, bash +, libconfig, lit, gdb, unzip, darwin, bash , callPackage, makeWrapper, runCommand, targetPackages , bootstrapVersion ? false , version ? "1.17.0" @@ -79,7 +79,7 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ cmake ninja makeWrapper unzip ] ++ stdenv.lib.optionals (!bootstrapVersion) [ - bootstrapLdc python lit + bootstrapLdc lit lit.python ] ++ stdenv.lib.optional (!bootstrapVersion && stdenv.hostPlatform.isDarwin) # https://github.com/NixOS/nixpkgs/issues/57120 |