From 5939af52b32c01edca7ad4c363b627970db3e04e Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 25 Oct 2017 14:27:59 +0200 Subject: pathsFromGraph: Remove obsolete printManifest feature --- pkgs/build-support/kernel/paths-from-graph.pl | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) (limited to 'pkgs/build-support/kernel') diff --git a/pkgs/build-support/kernel/paths-from-graph.pl b/pkgs/build-support/kernel/paths-from-graph.pl index 9a199a2b3044..747e1edec811 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)) { -- cgit 1.4.1