ldc: inherit python interpreter from lit
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchurl, cmake, ninja, llvm_5, llvm_8, curl, tzdata
|
{ 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
|
, callPackage, makeWrapper, runCommand, targetPackages
|
||||||
, bootstrapVersion ? false
|
, bootstrapVersion ? false
|
||||||
, version ? "1.17.0"
|
, version ? "1.17.0"
|
||||||
@@ -79,7 +79,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ cmake ninja makeWrapper unzip ]
|
nativeBuildInputs = [ cmake ninja makeWrapper unzip ]
|
||||||
++ stdenv.lib.optionals (!bootstrapVersion) [
|
++ stdenv.lib.optionals (!bootstrapVersion) [
|
||||||
bootstrapLdc python lit
|
bootstrapLdc lit lit.python
|
||||||
]
|
]
|
||||||
++ stdenv.lib.optional (!bootstrapVersion && stdenv.hostPlatform.isDarwin)
|
++ stdenv.lib.optional (!bootstrapVersion && stdenv.hostPlatform.isDarwin)
|
||||||
# https://github.com/NixOS/nixpkgs/issues/57120
|
# https://github.com/NixOS/nixpkgs/issues/57120
|
||||||
|
|||||||
Reference in New Issue
Block a user