* Fix the Nixpkgs mirror script (it didn't have the necessary

modules in the Perl search path).

svn path=/nixos/trunk/; revision=27261
This commit is contained in:
Eelco Dolstra 2011-05-16 07:46:31 +00:00
parent 95dc49a89d
commit 4984fa1ee6

View File

@ -15,7 +15,7 @@ let
cronjob = jobset:
"${cfg.period} ${cfg.user}"
+ optionalString cfg.enableBinaryPatches " ENABLE_PATCHES=1"
+ " perl -I${config.environment.nix}/libexec/nix ${mirrorChannel}"
+ " perl -I${config.environment.nix}/libexec/nix -I${pkgs.perlPackages.DBI}/lib/perl5/site_perl -I${pkgs.perlPackages.DBDSQLite}/lib/perl5/site_perl ${mirrorChannel}"
+ " ${cfg.hydraURL}/jobset/${jobset.project}/${jobset.jobset}/channel/latest"
+ " ${cfg.dataDir}/${jobset.project}/channels/${jobset.name}"
+ " ${cfg.dataDir}/nars"