diff options
author | Moritz Ulrich <moritz@tarn-vedra.de> | 2014-10-15 12:07:31 +0200 |
---|---|---|
committer | Moritz Ulrich <moritz@tarn-vedra.de> | 2014-10-15 12:07:31 +0200 |
commit | 8d5fe133bd546bab8cb929ff10df30d9b4f44197 (patch) | |
tree | 87837792549a60b1fe6a2ae3dd19cb8151f55a77 /pkgs/development/compilers/chicken | |
parent | 36c5ec58c48ca751fb80aec4d737b6f39a6f6956 (diff) | |
download | nixlib-8d5fe133bd546bab8cb929ff10df30d9b4f44197.tar nixlib-8d5fe133bd546bab8cb929ff10df30d9b4f44197.tar.gz nixlib-8d5fe133bd546bab8cb929ff10df30d9b4f44197.tar.bz2 nixlib-8d5fe133bd546bab8cb929ff10df30d9b4f44197.tar.lz nixlib-8d5fe133bd546bab8cb929ff10df30d9b4f44197.tar.xz nixlib-8d5fe133bd546bab8cb929ff10df30d9b4f44197.tar.zst nixlib-8d5fe133bd546bab8cb929ff10df30d9b4f44197.zip |
eggDerivation: Move postInstall into installPhase.
Diffstat (limited to 'pkgs/development/compilers/chicken')
-rw-r--r-- | pkgs/development/compilers/chicken/eggDerivation.nix | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/pkgs/development/compilers/chicken/eggDerivation.nix b/pkgs/development/compilers/chicken/eggDerivation.nix index 6ccacb668322..97ce9d9be79b 100644 --- a/pkgs/development/compilers/chicken/eggDerivation.nix +++ b/pkgs/development/compilers/chicken/eggDerivation.nix @@ -32,10 +32,6 @@ stdenv.mkDerivation ({ chicken-install -p $out ${stdenv.lib.concatStringsSep " " chickenInstallFlags} - runHook postInstall - ''; - - postInstall = '' for f in $out/bin/* do wrapProgram $f \ @@ -44,5 +40,7 @@ stdenv.mkDerivation ({ --prefix CHICKEN_INCLUDE_PATH \; \"$CHICKEN_INCLUDE_PATH\;$out/share/\" \ --prefix PATH : "$out/bin:${chicken}/bin:$CHICKEN_REPOSITORY_EXTRA:$CHICKEN_REPOSITORY" done + + runHook postInstall ''; } // (builtins.removeAttrs args ["name" "buildInputs"]) // override) |