@cryptotaxi247 / infra-1 / commits / 59b6b0d3

sdf2-bundle job

svn path=/configurations/trunk/tud/; revision=11385

Martin Bravenboer committed Mar 31, 2008 at 03:06 UTC 59b6b0d320098081d29071768ec05421c7efefe8
2 files changed +19 -3
supervisor/strategoxt/easy-job.nix
+13 -3
@@ -47,7 +47,7 @@ rec {
47 // attrs)
48 // {
49 inputs =
50 - ((reflect.svnInputs spec svn)
50 + ( (reflect.svnInputs spec svn)
51 // (reflect.requiresInputs spec makeInfoURL))
52 // customInputs;
53 }) ["makeInfoURL"]);
@@ -114,7 +114,10 @@ rec {
114 };
115
116 svnInputs = spec : variant :
117 - builtins.listToAttrs [(svnInputAttr spec variant)];
117 + if (spec fakePkgs) ? svn then
118 + builtins.listToAttrs [(svnInputAttr spec variant)]
119 + else
120 + {};
121
122 /**
123 * The info attribute name is by convention ${attrPrefix}Info
@@ -138,7 +141,14 @@ rec {
141 ++ (fun.concatLists
142 (map (x : closure x) (somespec fakePkgs).requires)
143 );
141 - in (closure spec)
144 + in (if (spec fakePkgs) ? bundles then
145 + (spec fakePkgs).bundles
146 + ++ (fun.concatLists
147 + (map (x : closure x) (spec fakePkgs).bundles)
148 + )
149 + else
150 + [])
151 + ++ (closure spec)
152 ++ (fun.concatLists
153 (map (x : closure x) (spec fakePkgs).svnRequires)
154 )
supervisor/strategoxt/jobs.nix
+6
@@ -168,6 +168,12 @@ let easy = (import ./easy-job.nix) attrs;
168 dirName = "pgen-with-aterm64";
169 makeInfoURL = makeInfoURL.withATerm64;
170 };
171 +
172 + sdf2BundleTrunk64 = makeEasyJob {
173 + spec = specs.sdf2Bundle;
174 + dirName = "sdf2-bundle-with-aterm64";
175 + makeInfoURL = makeInfoURL.withATerm64;
176 + };
177 }
178
179