From abfd6507b2a3b2deb3a8624596f8cf621ad11e37 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 17 Mar 2010 16:49:52 +0000 Subject: [PATCH] * 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. --- src/lib/Hydra/View/NixExprs.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/Hydra/View/NixExprs.pm b/src/lib/Hydra/View/NixExprs.pm index ac9eed7b..de6de58d 100644 --- a/src/lib/Hydra/View/NixExprs.pm +++ b/src/lib/Hydra/View/NixExprs.pm @@ -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;