mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 14:06:16 +02:00
* Script to remove patches from manifests.
This commit is contained in:
parent
0bc41f632b
commit
b17e7cf979
1 changed files with 19 additions and 0 deletions
19
scripts/remove-patches.pl
Executable file
19
scripts/remove-patches.pl
Executable file
|
@ -0,0 +1,19 @@
|
||||||
|
#! /usr/bin/perl -w -I/home/eelco/nix/scripts
|
||||||
|
|
||||||
|
use strict;
|
||||||
|
use readmanifest;
|
||||||
|
|
||||||
|
for my $p (@ARGV) {
|
||||||
|
|
||||||
|
my %narFiles;
|
||||||
|
my %patches;
|
||||||
|
my %successors;
|
||||||
|
|
||||||
|
readManifest $p,
|
||||||
|
\%narFiles, \%patches, \%successors;
|
||||||
|
|
||||||
|
%patches = ();
|
||||||
|
|
||||||
|
writeManifest $p,
|
||||||
|
\%narFiles, \%patches, \%successors;
|
||||||
|
}
|
Loading…
Reference in a new issue