about summary refs log tree commit diff
path: root/src/nix-regprebuilts
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-04-08T14·05+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-04-08T14·05+0000
commitcc6eafb3d0a53c8bb02746411d3d41403ce9eb83 (patch)
treecdf6363fb09c229923a6d0e72106b6b9c5f68e11 /src/nix-regprebuilts
parentf7ef88df1fd6087deae02a53b8f18b64050f75db (diff)
* FreeBSD / gcc 2.95 compatibility fixes.
* A script to generate prebuilt registration scripts.

Diffstat (limited to 'src/nix-regprebuilts')
-rwxr-xr-xsrc/nix-regprebuilts17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/nix-regprebuilts b/src/nix-regprebuilts
deleted file mode 100755
index 6c9c981eee29..000000000000
--- a/src/nix-regprebuilts
+++ /dev/null
@@ -1,17 +0,0 @@
-#! /usr/bin/perl -w
-
-my $dir = $ARGV[0];
-
-foreach my $prebuilt (glob("$dir/*.tar.bz2")) {
-
-    $prebuilt =~ /-([a-z0-9]+)-([a-z0-9]+).tar.bz2$/
-	|| die "invalid file name: $prebuilt";
-
-    my $pkgHash = $1;
-    my $prebuiltHash = $2;
-
-    print "$pkgHash -> $prebuiltHash\n";
-
-    system "nix regprebuilt $pkgHash $prebuiltHash";
-    system "nix regfile $prebuilt";
-}