I’m using GitHub - Mic92/nixos-shell: Spawns lightweight nixos vms in a shell to build/run a VM.
Within this VM, I try run nixos-shell
which initially failed with an error however after adding:
{...}: {
nix.nixPath = [
"nixpkgs=${pkgs.path}"
];
}
It now works, however it seems to be downloading dependencies that should already exist in the host, when trying to invoke something via nix-shell
.
nix-shell -p vim /bambie
these paths will be fetched (7.00 MiB download, 33.13 MiB unpacked):
/nix/store/1cbk7i6dg26cygss2b6w8xq4dnj50z31-vim-8.2.1522
copying path '/nix/store/1cbk7i6dg26cygss2b6w8xq4dnj50z31-vim-8.2.1522' from 'https://cache.nixos.org'...
^Cerror: interrupted by the user
why this error happen ,can anyone help?