mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-25 15:26:17 +02:00
* Handle $PATHs with spaces.
This commit is contained in:
parent
58b4198ed8
commit
c7d9397fc9
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ for i in \
|
|||
done
|
||||
|
||||
# Another ugly hack.
|
||||
sed "s|^$|PATH=$PATH|" < $NIX_DATA_DIR/nix/corepkgs/nar/nar.sh > tmp
|
||||
sed "s|^$|PATH='$PATH'|" < $NIX_DATA_DIR/nix/corepkgs/nar/nar.sh > tmp
|
||||
chmod +x tmp
|
||||
mv tmp $NIX_DATA_DIR/nix/corepkgs/nar/nar.sh
|
||||
|
||||
|
|
Loading…
Reference in a new issue