1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 01:51:47 +02:00

* Remove the localPaths feature in manifests since it's no longer used

and redundant anyway.
This commit is contained in:
Eelco Dolstra 2011-04-06 09:16:22 +00:00
parent 0423d0692a
commit 1e7e4f21ba
7 changed files with 10 additions and 47 deletions

View file

@ -23,7 +23,7 @@ sub addPatch {
sub readManifest {
my ($manifest, $narFiles, $localPaths, $patches) = @_;
my ($manifest, $narFiles, $patches) = @_;
open MANIFEST, "<$manifest"
or die "cannot open `$manifest': $!";
@ -99,21 +99,6 @@ sub readManifest {
};
}
elsif ($type eq "localPath") {
$$localPaths{$storePath} = []
unless defined $$localPaths{$storePath};
my $localPathsList = $$localPaths{$storePath};
# !!! remove duplicates
push @{$localPathsList},
{ copyFrom => $copyFrom, references => $references
, deriver => ""
};
}
}
elsif (/^\s*StorePath:\s*(\/\S+)\s*$/) { $storePath = $1; }