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
$ sudo mkdir -p /mnt/test
$ sudo mount -t tmpfs tmpfs /mnt/test
$ nix build --store /mnt/test git+https://gitlab.com/vikanezrimaya/nix-flake#nixosConfigurations.maria.config.system.build.toplevel --extra-substituters auto?trusted=1
error: path '/nix/store/1a5hpb0ya1svwxdsny23ra5y75w3cnj6-nix-2.4pre20200403_3473b19' is not valid
This is how nixos-install worked previously (except no flakes! they weren't invented yet). I expected it to work the same with flakes. I was recommended to file an issue when telling this story in IRC.
Copying nixFlakes to the target store with nix-store --export $(nix-store -qR /nix/store/1a5hpb0ya1svwxdsny23ra5y75w3cnj6-nix-2.4pre20200403_3473b19) | nix-store --store /mnt/test --import is a suitable workaround.
The text was updated successfully, but these errors were encountered:
$ nix copy --to local?root=/mnt/test $PWD#activationPackage.maria
warning: Git tree '/home/kisik21/Projects/vika-flake' is dirty
error: path '/nix/store/9iwm9nmjnxqxc1qpxn2z71g7ip4ybx0j-activate' is not valid
This is how nixos-install worked previously (except no flakes! they weren't invented yet). I expected it to work the same with flakes. I was recommended to file an issue when telling this story in IRC.
Copying nixFlakes to the target store with
nix-store --export $(nix-store -qR /nix/store/1a5hpb0ya1svwxdsny23ra5y75w3cnj6-nix-2.4pre20200403_3473b19) | nix-store --store /mnt/test --import
is a suitable workaround.The text was updated successfully, but these errors were encountered: