* Pass the version of dependencies to the Nix expression.
[?]
Mar 2, 2009, 3:21 PM
CN5LSNJNYOZPSWS5GNCMIEPZ27DAYVEQ5CIA3XGPXO7CWADCKC7QCDependencies
- [2]
CMU3YKOU* Store the release name. - [3]
H7CNGK4O* Log evaluation errors etc. in the DB. - [4]
FDE3BJAP* Refactoring. - [*]
N22GPKYT* Put info about logs / build products in the DB. - [*]
6BLUKEQ2* Caching of "path" inputs, and fake a revision number for those.
Change contents
- edit in src/Hydra/script/hydra_scheduler.pl at line 300[2.2051][7.4080]
" outPath = builtins.storePath " . $inputInfo->{$argName}->{storePath} . ";" . - edit in src/Hydra/script/hydra_scheduler.pl at line 336
my $pkgNameRE = "(?:(?:[A-Za-z0-9]|(?:-[^0-9]))+)";my $versionRE = "(?:[A-Za-z0-9\.\-]+)"; - edit in src/Hydra/script/hydra_scheduler.pl at line 340
my $relName = ($prevBuild->resultInfo->releasename or $prevBuild->nixname);my $version = $2 if $relName =~ /^($pkgNameRE)-($versionRE)$/; - replacement in src/Hydra/script/hydra_scheduler.pl at line 344
push @newArgs, "--arg", $argName, "{path = builtins.storePath " . $prevBuild->outpath . ";}";push @newArgs, "--arg", $argName,"{ path = builtins.storePath " . $prevBuild->outpath . "; " ." outPath = builtins.storePath " . $prevBuild->outpath . "; " .($version ? " version = \"$version\"; " : "") . # !!! escape"}";