mirror of
https://github.com/NixOS/nix
synced 2025-07-07 14:21:48 +02:00
Dodge "trusted" vs "trustworthy" by being explicit
Hopefully this is best!
This commit is contained in:
parent
752f967c0f
commit
a2a8cb10ac
5 changed files with 14 additions and 8 deletions
|
@ -81,7 +81,7 @@ info=$(nix path-info --store file://$cacheDir --json $outPath2)
|
|||
[[ $info =~ 'cache1.example.org' ]]
|
||||
[[ $info =~ 'cache2.example.org' ]]
|
||||
|
||||
# Copying to a diverted store should fail due to a lack of trustworthy signatures.
|
||||
# Copying to a diverted store should fail due to a lack of signatures by trusted keys.
|
||||
chmod -R u+w $TEST_ROOT/store0 || true
|
||||
rm -rf $TEST_ROOT/store0
|
||||
(! nix copy --to $TEST_ROOT/store0 $outPath)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue