tvl-depot/scripts/remove-patches.pl
Eelco Dolstra bae75ca5a1 * New kind of manifest object: "localPath", which denotes that a store
path can be created by copying it from another location in the file
  system.  This is useful in the NixOS installation.
2007-01-23 16:50:19 +00:00

17 lines
285 B
Perl
Executable file

#! /usr/bin/perl -w -I/home/eelco/nix/scripts
use strict;
use readmanifest;
for my $p (@ARGV) {
my %narFiles;
my %localPaths;
my %patches;
readManifest $p, \%narFiles, \%localPaths, \%patches;
%patches = ();
writeManifest $p, \%narFiles, \%patches;
}