mirror of
https://github.com/NixOS/nix.git
synced 2025-11-26 04:00:59 +01:00
in the middle of adding nixStoreState ...
This commit is contained in:
parent
4c63f18dcc
commit
8a7874d77d
11 changed files with 138 additions and 22 deletions
|
|
@ -21,6 +21,8 @@ $stateDir = "@localstatedir@/nix" unless defined $stateDir;
|
|||
my $storeDir = $ENV{"NIX_STORE_DIR"};
|
||||
$storeDir = "@storedir@" unless defined $storeDir;
|
||||
|
||||
my $storeStateDir = $ENV{"NIX_STORE_STATE_DIR"};
|
||||
$storeStateDir = "@storestatedir@" unless defined $storeStateDir;
|
||||
|
||||
# Prevent access problems in shared-stored installations.
|
||||
umask 0022;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue