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

This commit is contained in:
Rick van Schijndel
2022-08-14 00:10:00 +03:00
committed by Artturin
parent a22312d5cd
commit ef74fd873a
2 changed files with 10 additions and 6 deletions
@@ -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,
@@ -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/*