mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 23:02:27 +00:00
12 lines
226 B
Bash
12 lines
226 B
Bash
source common.sh
|
|
|
|
drvPath=$($nixinstantiate dependencies.nix)
|
|
outPath=$($nixstore -r $drvPath)
|
|
|
|
echo "pushing $drvPath"
|
|
|
|
mkdir $TEST_ROOT/cache
|
|
|
|
$NIX_BIN_DIR/nix-push \
|
|
--copy $TEST_ROOT/cache $TEST_ROOT/manifest $drvPath
|