about summary refs log tree commit diff
path: root/scripts/remove-patches.pl
blob: 75eb0ce778a5aaf0a1e8b693ffa5ef88d9225d0e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#! /usr/bin/perl -w -I/home/eelco/nix/scripts

use strict;
use readmanifest;

for my $p (@ARGV) {

    my %narFiles;
    my %patches;

    readManifest $p,
        \%narFiles, \%patches;

    %patches = ();
    
    writeManifest $p,
        \%narFiles, \%patches;
}