Revert "Disable programs.sqlite generation"

This reverts commit 7f2bbc884c.
This commit is contained in:
Eelco Dolstra 2016-11-10 15:50:19 +01:00
parent ba19471e5b
commit b74e03a870

View file

@ -145,7 +145,7 @@ if ($bucket->head_key("$releasePrefix")) {
}
# Generate the programs.sqlite database and put it in nixexprs.tar.xz.
if (0 && $channelName =~ /nixos/ && -e "$tmpDir/store-paths") {
if ($channelName =~ /nixos/ && -e "$tmpDir/store-paths") {
File::Path::make_path("$tmpDir/unpack");
system("tar", "xfJ", "$tmpDir/nixexprs.tar.xz", "-C", "$tmpDir/unpack") == 0 or die;
my $exprDir = glob("$tmpDir/unpack/*");