[marc at nixos:~]$ nix-env -iA elinks -f /etc/nixos/nixpkgs/pkgs/top-level/all-packages.nix error: opening lock file `/nix/pkgs/top-level/all-packages.nix.lock': No such file or directory Any idea what is causing this? nix-instantiate followed by nix-store -r works fine Marc