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