You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, thank you for developing this project,this is the only way I can use nix on CentOS 7. I was able to install nix-portable and I am trying to follow tutorials on setting up simple environments for python:
$ nix-shell -p 'python311.withPackages(ps: with ps; [ numpy toolz ])'
error: undefined variable 'python311'
at «string»:1:107:
1| {...}@args: with import <nixpkgs> args; (pkgs.runCommandCC or pkgs.runCommand) "shell" { buildInputs = [ (python311.withPackages(ps: with ps; [ numpy toolz ])) ]; } ""
The same command works on the multi-user installation of nix on a computer where I do have sudo access. I was able to run nix-shell -p python3 via nix-portable though which installs python 3.8, so I am not quite sure what exactly is wrong in the first example. On a different note, how do I update built-in nix to be more up to date (I downloaded v009 from January last year)?
The text was updated successfully, but these errors were encountered:
Hi, thank you for developing this project,this is the only way I can use nix on CentOS 7. I was able to install
nix-portable
and I am trying to follow tutorials on setting up simple environments for python:The same command works on the multi-user installation of nix on a computer where I do have sudo access. I was able to run
nix-shell -p python3
via nix-portable though which installs python 3.8, so I am not quite sure what exactly is wrong in the first example. On a different note, how do I update built-in nix to be more up to date (I downloaded v009 from January last year)?The text was updated successfully, but these errors were encountered: