mirror of
https://github.com/NixOS/nix
synced 2025-07-08 19:23:54 +02:00
* Sync with changed substitute mechanism.
* Accept the NarHash line. * Clear substitutes in `nix-channel --update'.
This commit is contained in:
parent
96c3d8a615
commit
7eed57e784
3 changed files with 11 additions and 6 deletions
|
@ -53,6 +53,10 @@ sub addChannel {
|
|||
sub update {
|
||||
readChannels;
|
||||
|
||||
# Get rid of all the old substitutes.
|
||||
system "@bindir@/nix-store --clear-substitutes";
|
||||
die "cannot clear substitutes" if ($? != 0);
|
||||
|
||||
# Pull cache manifests.
|
||||
foreach my $url (@channels) {
|
||||
print "pulling cache manifest from `$url'\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue