mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 14:52:55 +00:00
066da4ab85
invariant by registering references through the manifest. * Added a test for nix-pull.
10 lines
276 B
Bash
10 lines
276 B
Bash
drvPath=$($TOP/src/nix-instantiate/nix-instantiate dependencies.nix)
|
|
outPath=$($TOP/src/nix-store/nix-store -r $drvPath)
|
|
|
|
echo "pushing $drvPath"
|
|
|
|
mkdir $TEST_ROOT/cache
|
|
|
|
$PERL -w -I$TOP/scripts $TOP/scripts/nix-push \
|
|
--copy $TEST_ROOT/cache $TEST_ROOT/manifest $drvPath
|