diff options
Diffstat (limited to 'src')
-rwxr-xr-x | src/nix-activate | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/nix-activate b/src/nix-activate deleted file mode 100755 index 9fe6466866df..000000000000 --- a/src/nix-activate +++ /dev/null @@ -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"; |