summary refs log tree commit diff
path: root/pkgs/build-support/kernel
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-10-25 14:27:59 +0200
committerEelco Dolstra <edolstra@gmail.com>2017-10-25 15:38:11 +0200
commit5939af52b32c01edca7ad4c363b627970db3e04e (patch)
tree9f6d536af47343caa63747fc90255607a24d6ee6 /pkgs/build-support/kernel
parent06831d14a19e08d6e978cb0751541601fd624263 (diff)
downloadnixpkgs-5939af52b32c01edca7ad4c363b627970db3e04e.tar
nixpkgs-5939af52b32c01edca7ad4c363b627970db3e04e.tar.gz
nixpkgs-5939af52b32c01edca7ad4c363b627970db3e04e.tar.bz2
nixpkgs-5939af52b32c01edca7ad4c363b627970db3e04e.tar.lz
nixpkgs-5939af52b32c01edca7ad4c363b627970db3e04e.tar.xz
nixpkgs-5939af52b32c01edca7ad4c363b627970db3e04e.tar.zst
nixpkgs-5939af52b32c01edca7ad4c363b627970db3e04e.zip
pathsFromGraph: Remove obsolete printManifest feature
Diffstat (limited to 'pkgs/build-support/kernel')
-rw-r--r--pkgs/build-support/kernel/paths-from-graph.pl23
1 files changed, 1 insertions, 22 deletions
diff --git a/pkgs/build-support/kernel/paths-from-graph.pl b/pkgs/build-support/kernel/paths-from-graph.pl
index 9a199a2b304..747e1edec81 100644
--- a/pkgs/build-support/kernel/paths-from-graph.pl
+++ b/pkgs/build-support/kernel/paths-from-graph.pl
@@ -1,8 +1,6 @@
 # Parses a /nix/store/*-closure file and prints
 # various information.
 # By default, the nodes in the graph are printed to stdout.
-# If the environment variable printManifest is set,
-# then the graph is written as a manifest.
 # If printRegistration is set, then the graph is written
 # as a registration file for a manifest is written
 # in the `nix-store --load-db' format.
@@ -46,26 +44,7 @@ foreach my $graph (@ARGV) {
 }
 
 
-if ($ENV{"printManifest"} eq "1") {
-    print "version {\n";
-    print "  ManifestVersion: 3\n";
-    print "}\n";
-
-    foreach my $storePath (sort (keys %storePaths)) {
-        my $base = basename $storePath;
-        print "localPath {\n";
-        print "  StorePath: $storePath\n";
-        print "  CopyFrom: /tmp/inst-store/$base\n";
-        print "  References: ";
-        foreach my $ref (@{$refs{$storePath}}) {
-            print "$ref ";
-        }
-        print "\n";
-        print "}\n";
-    }
-}
-
-elsif ($ENV{"printRegistration"} eq "1") {
+if ($ENV{"printRegistration"} eq "1") {
     # This is the format used by `nix-store --register-validity
     # --hash-given' / `nix-store --load-db'.
     foreach my $storePath (sort (keys %storePaths)) {