mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 19:51:17 +00:00
chickenPackages_4.chicken, chickenPackages_5.chicken: move makeWrapper to nativeBuildInputs
This commit is contained in:
parent
a22312d5cd
commit
ef74fd873a
|
@ -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/*
|
||||
|
|
Loading…
Reference in a new issue