1
0
Fork 0
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:
John Ericson 2022-09-22 14:36:26 -04:00 committed by John Ericson
parent 752f967c0f
commit a2a8cb10ac
5 changed files with 14 additions and 8 deletions

View file

@ -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)