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