mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 08:16:15 +02:00
nix run: Fix accidental removal of /nix/store existence check
Parenthetical to #1686, we don't need to create a new root if we can just bind-mount on top of the existing /nix/store.
This commit is contained in:
parent
a3aa850f0f
commit
4eb9e20028
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ void chrootHelper(int argc, char * * argv)
|
|||
but that doesn't work in a user namespace yet (Ubuntu has a
|
||||
patch for this:
|
||||
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1478578). */
|
||||
if (true /* !pathExists(storeDir) */) {
|
||||
if (!pathExists(storeDir)) {
|
||||
// FIXME: Use overlayfs?
|
||||
|
||||
Path tmpDir = createTempDir();
|
||||
|
|
Loading…
Reference in a new issue