mirror of
https://github.com/lihop/godot-xterm.git
synced 2024-11-21 17:20:25 +01:00
Allow SCONS_CACHE env var in pure nix environment
This commit is contained in:
parent
1367133b25
commit
f36f1db315
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ NATIVE_DIR="$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
|
|||
# Run script inside a nix shell if it is available.
|
||||
if command -v nix-shell && [ $NIX_PATH ] && [ -z $IN_NIX_SHELL ]; then
|
||||
cd ${NATIVE_DIR}
|
||||
nix-shell --pure --run "NIX_PATH=${NIX_PATH} ./build.sh $args"
|
||||
nix-shell --pure --keep SCONS_CACHE --run "NIX_PATH=${NIX_PATH} ./build.sh $args"
|
||||
exit
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue