chickenPackages_4.chicken, chickenPackages_5.chicken: move makeWrapper to nativeBuildInputs

This commit is contained in:
Rick van Schijndel 2022-07-14 23:26:35 +02:00 committed by Artturin
parent a22312d5cd
commit ef74fd873a
2 changed files with 10 additions and 6 deletions

View File

@ -39,11 +39,13 @@ stdenv.mkDerivation {
./0001-Introduce-CHICKEN_REPOSITORY_EXTRA.patch
];
buildInputs = [
nativeBuildInputs = [
makeWrapper
] ++ (lib.optionals (bootstrap-chicken != null) [
];
buildInputs = lib.optionals (bootstrap-chicken != null) [
bootstrap-chicken
]);
];
preBuild = lib.optionalString (bootstrap-chicken != null) ''
# Backup the build* files - those are generated from hostname,

View File

@ -31,11 +31,13 @@ stdenv.mkDerivation rec {
"C_COMPILER=$(CC)"
]);
buildInputs = [
nativeBuildInputs = [
makeWrapper
] ++ (lib.optionals (bootstrap-chicken != null) [
];
buildInputs = lib.optionals (bootstrap-chicken != null) [
bootstrap-chicken
]);
];
postInstall = ''
for f in $out/bin/*