Skip to content

Instantly share code, notes, and snippets.

@amckinlay
Last active August 17, 2018 19:16
Show Gist options
  • Save amckinlay/f1e8db9ec0ee41c5d1afae9bf59c7a10 to your computer and use it in GitHub Desktop.
Save amckinlay/f1e8db9ec0ee41c5d1afae9bf59c7a10 to your computer and use it in GitHub Desktop.
Foos-iMac:~ foo$ nix upgrade-nix
[1/28/29 copied (84.4 MiB), 18.3 MiB DL] downloading '/nix/store/771l8i0mz4c8kryreplacing old 'nix-2.0.2'
installing 'nix-2.0.4'
building '/nix/store/k40ws9vm7xryshfqqhskr7yg9vk1yjja-user-environment.drv'...
created 9 symlinks in user environment
error: opening lock file '/nix/var/nix/profiles/default.lock': Permission denied
[29 copied (84.4 MiB), 18.3 MiB DL]
error: program '/nix/store/hs8mxsvdhm95dxgx943d74fws01j2zj3-nix-2.0.2/bin/nix-env' failed with exit code 1
Foos-iMac:~ foo$ nix upgrade-nix
[0.0 MiB DL] downloading 'https://github.com/NixOS/nixpkgs/raw/master/nixos/modureplacing old 'nix-2.0.2'
installing 'nix-2.0.4'
error: opening lock file '/nix/var/nix/profiles/default.lock': Permission denied
[0.0 MiB DL]
error: program '/nix/store/hs8mxsvdhm95dxgx943d74fws01j2zj3-nix-2.0.2/bin/nix-env' failed with exit code 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment