mirror of
https://github.com/NixOS/nix
synced 2025-07-07 14:21:48 +02:00
Fix errors about NIX_STORE_DIR being unset.
This commit is contained in:
parent
9769a0ae7d
commit
878c84d5ee
2 changed files with 2 additions and 2 deletions
|
@ -53,7 +53,7 @@ remountOverlayfs () {
|
|||
toRealPath () {
|
||||
storeDir=$1; shift
|
||||
storePath=$1; shift
|
||||
echo $storeDir$(echo $storePath | sed "s^$NIX_STORE_DIR^^")
|
||||
echo $storeDir$(echo $storePath | sed "s^${NIX_STORE_DIR:-/nix/store}^^")
|
||||
}
|
||||
|
||||
initLowerStore () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue