* Escape the outPath in the generated nixexpr.tar.bz2 in channels, because

store paths with `=' in them (such as 
  /nix/store/chj5wrbmi43zjx77svlr4lgnrqi9pwfy-guile-CPPFLAGS=-DSCM_DEBUG=1-1.9.8.113)
  broke it.
This commit is contained in:
Eelco Dolstra 2010-03-17 16:49:52 +00:00
parent 056b3ca001
commit abfd6507b2

View file

@ -27,7 +27,7 @@ sub process {
$res .= " { type = \"derivation\";\n";
$res .= " name = " . escape ($build->resultInfo->releasename or $build->nixname) . ";\n";
$res .= " system = " . (escape $build->system) . ";\n";
$res .= " outPath = " . $build->outpath . ";\n";
$res .= " outPath = " . (escape $build->outpath) . ";\n";
$res .= " meta = {\n";
$res .= " description = " . (escape $build->description) . ";\n"
if $build->description;