* File removed.
This commit is contained in:
parent
9713e8577f
commit
24b3d0759e
|
@ -1,22 +0,0 @@
|
||||||
#! /usr/bin/perl -w
|
|
||||||
|
|
||||||
use strict;
|
|
||||||
|
|
||||||
my $pkglist = "/home/eelco/.nixactivations";
|
|
||||||
|
|
||||||
if (!-f $pkglist) {
|
|
||||||
system "touch $pkglist";
|
|
||||||
}
|
|
||||||
|
|
||||||
my $hash;
|
|
||||||
foreach $hash (@ARGV) {
|
|
||||||
system "grep -q $hash $pkglist";
|
|
||||||
if ($?) {
|
|
||||||
print STDERR "activating $hash\n";
|
|
||||||
system "nix getpkg $hash > /dev/null";
|
|
||||||
if ($?) { die "`nix getpkg' failed"; }
|
|
||||||
system "echo $hash >> $pkglist";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
system "nix-populate";
|
|
Loading…
Reference in a new issue