Created
June 4, 2018 20:34
-
-
Save bbarker/651feffd37658811bb56691178e65ab7 to your computer and use it in GitHub Desktop.
TCL lock error when using CPython in nix 2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nixuser@c1cc151bdb96:/nixenv/nixuser$ nix-shell . --show-trace | |
error: while evaluating the attribute 'buildInputs' of the derivation 'impurePythonEnv' at /nix/store/98grm6apc87yp4whya0sszsjksn8spfv-nixpkgs-18.09pre140731.c29d2fde74d/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:148:11: | |
while evaluating the attribute 'CPPFLAGS' of the derivation 'python3-3.6.5' at /nix/store/98grm6apc87yp4whya0sszsjksn8spfv-nixpkgs-18.09pre140731.c29d2fde74d/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:148:11: | |
while evaluating anonymous function at /nix/store/98grm6apc87yp4whya0sszsjksn8spfv-nixpkgs-18.09pre140731.c29d2fde74d/nixpkgs/pkgs/development/interpreters/python/cpython/3.6/default.nix:85:42, called from undefined position: | |
while evaluating the attribute 'src' of the derivation 'tcl-8.6.6' at /nix/store/98grm6apc87yp4whya0sszsjksn8spfv-nixpkgs-18.09pre140731.c29d2fde74d/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:148:11: | |
opening lock file '/nix/store/pharxjr8465xa67chpbzcnqxmm55ym1c-tcl8.6.6-src.tar.gz.drv.lock': Permission denied |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
/nix/store/ needs to be writable by the user in question. Typically things can go badly if you run commands as root that modify the /nix/store