-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Description
Describe the bug
$ nix copy ./*.drv --to ssh-ng://[email protected] --derivation
warning: error: SQLite database '/nix/var/nix/db/db.sqlite' is busy
[1147 copied (17.0 MiB), 5.2 MiB DL] copying 44430 pathsToo many root sets
Aborted (core dumped)
[linus@geruest:~/nixpkgs/master/to-build]$ terminate called after throwing an instance of 'nix::EndOfFile'
what(): error: unexpected end-of-file
Steps To Reproduce
- Get lots of drvs (546, all the NixOS test drvs for a nixpkgs checkout in my case)
- Try copying them to a remote machine using
nix copy --to ssh-ng://root@$host ./*.drv
or similar
Expected behavior
Successful copy, or useful error message
nix-env --version
output
nix-env (Nix) 2.12.0pre20221116_561440b
bbigras, MrFoxPro, colemickens, dixslyf, ajs124 and 17 more