about summary refs log tree commit diff
path: root/scripts/remove-patches.pl
blob: 8329ab038a73a30de6e66f168fedced95c13d3cc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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;
}