diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2021-06-27 01:48:12 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2021-06-27 01:48:12 +0200 |
commit | 5275f756ad115bbcacce52eb04eeae4a303e4b2e (patch) | |
tree | bf34fc0fba0abfd12672df4fb3db7bcf8382fe04 /stdenv_prefix/prehook.sh | |
parent | b4e94e5ffeb834f96c5f3338c36b22fc13bd0cee (diff) | |
download | Nixies-5275f756ad115bbcacce52eb04eeae4a303e4b2e.tar.gz Nixies-5275f756ad115bbcacce52eb04eeae4a303e4b2e.tar.zst Nixies-5275f756ad115bbcacce52eb04eeae4a303e4b2e.zip |
Diffstat (limited to 'stdenv_prefix/prehook.sh')
-rw-r--r-- | stdenv_prefix/prehook.sh | 3 |
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 | ||