buildCrystalPackage: enable strictDeps
it improves package correctness and keeps cross-compilation in good health there aren't many uses of buildCrystalPackage in nixpkgs yet so imo its safe to turn it on python builder, rust build, go builder, and others all turn it on
This commit is contained in:
parent
ecc106108c
commit
a0d4618e7f
|
@ -72,16 +72,17 @@ stdenv.mkDerivation (mkDerivationArgs // {
|
|||
|
||||
PREFIX = placeholder "out";
|
||||
|
||||
buildInputs = args.buildInputs or [ ] ++ [ crystal ]
|
||||
++ lib.optional (format != "crystal") shards;
|
||||
strictDeps = true;
|
||||
buildInputs = args.buildInputs or [ ] ++ [ crystal ];
|
||||
|
||||
nativeBuildInputs = args.nativeBuildInputs or [ ] ++ [
|
||||
crystal
|
||||
git
|
||||
installShellFiles
|
||||
removeReferencesTo
|
||||
pkg-config
|
||||
which
|
||||
];
|
||||
] ++ lib.optional (format != "crystal") shards;
|
||||
|
||||
buildPhase = args.buildPhase or (lib.concatStringsSep "\n" ([
|
||||
"runHook preBuild"
|
||||
|
|
Loading…
Reference in a new issue