2024-05-28 16:43:04 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2023-08-07 09:23:19 +00:00
|
|
|
source common.sh
|
|
|
|
|
2023-12-13 16:26:14 +00:00
|
|
|
source nix-copy-ssh-common.sh "ssh-ng"
|
2023-08-07 09:23:19 +00:00
|
|
|
|
2024-06-16 10:51:46 +00:00
|
|
|
TODO_NixOS
|
|
|
|
|
2023-12-13 16:26:14 +00:00
|
|
|
clearStore
|
|
|
|
clearRemoteStore
|
2023-08-07 09:23:19 +00:00
|
|
|
|
|
|
|
outPath=$(nix-build --no-out-link dependencies.nix)
|
|
|
|
|
2023-12-13 16:26:14 +00:00
|
|
|
nix store info --store "$remoteStore"
|
2023-08-07 09:23:19 +00:00
|
|
|
|
|
|
|
# Regression test for https://github.com/NixOS/nix/issues/6253
|
2023-12-13 16:26:14 +00:00
|
|
|
nix copy --to "$remoteStore" $outPath --no-check-sigs &
|
|
|
|
nix copy --to "$remoteStore" $outPath --no-check-sigs
|