mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 06:42:28 +00:00
* 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 New Issue
Block a user