summaryrefslogtreecommitdiff
path: root/stdenv_prefix/prehook.sh
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2021-06-27 01:48:12 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2021-06-27 01:48:12 +0200
commit5275f756ad115bbcacce52eb04eeae4a303e4b2e (patch)
treebf34fc0fba0abfd12672df4fb3db7bcf8382fe04 /stdenv_prefix/prehook.sh
parentb4e94e5ffeb834f96c5f3338c36b22fc13bd0cee (diff)
downloadNixies-5275f756ad115bbcacce52eb04eeae4a303e4b2e.tar.gz
Nixies-5275f756ad115bbcacce52eb04eeae4a303e4b2e.tar.zst
Nixies-5275f756ad115bbcacce52eb04eeae4a303e4b2e.zip
Add some fixes to stdenv prefix hookHEADmaster
Diffstat (limited to 'stdenv_prefix/prehook.sh')
-rw-r--r--stdenv_prefix/prehook.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/stdenv_prefix/prehook.sh b/stdenv_prefix/prehook.sh
index db9a4d2..c5474dc 100644
--- a/stdenv_prefix/prehook.sh
+++ b/stdenv_prefix/prehook.sh
@@ -35,11 +35,14 @@ appendOut() {
35 35
36 : ${libc_path=} 36 : ${libc_path=}
37 : ${configureFlags=} 37 : ${configureFlags=}
38 : ${installFlags=}
39 installFlags="${installFlags//$oldout/$out}"
38 configureFlags="${configureFlags//$oldout/$out}" 40 configureFlags="${configureFlags//$oldout/$out}"
39 if [ -n "$libc_path" ]; then 41 if [ -n "$libc_path" ]; then
40 libc_oldpath=$libc_path/lib 42 libc_oldpath=$libc_path/lib
41 libc_newpath=$(cat $libc_path/nix-support/new-out)/lib 43 libc_newpath=$(cat $libc_path/nix-support/new-out)/lib
42 configureFlags="${configureFlags//$libc_oldpath/$libc_newpath}" 44 configureFlags="${configureFlags//$libc_oldpath/$libc_newpath}"
45 installFlags="${installFlags//$libc_oldpath/$libc_newpath}"
43 fi 46 fi
44} 47}
45 48