about summary refs log tree commit diff
path: root/scripts/NixManifest.pm.in
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2011-04-06T09·16+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2011-04-06T09·16+0000
commit1e7e4f21ba910bcf9da89b14cf2424a4b0955bed (patch)
treed7fc709bf97d96ce11a5d9e8117286ff5ff9446b /scripts/NixManifest.pm.in
parent0423d0692abebf16a19b65b37d4926de2539bf1c (diff)
* Remove the localPaths feature in manifests since it's no longer used
  and redundant anyway.

Diffstat (limited to 'scripts/NixManifest.pm.in')
-rw-r--r--scripts/NixManifest.pm.in17
1 files changed, 1 insertions, 16 deletions
diff --git a/scripts/NixManifest.pm.in b/scripts/NixManifest.pm.in
index be0dda616922..21c8b6ba2a86 100644
--- a/scripts/NixManifest.pm.in
+++ b/scripts/NixManifest.pm.in
@@ -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; }