Enabled Cygwin, MinGW and Darwin builds.
svn path=/configurations/trunk/tud/; revision=11520
Martin Bravenboer committed
Apr 9, 2008 at 23:39 UTC
b5d8d465a55c79837341a6944c03748c34abc928
2 files changed
+11
-3
supervisor/strategoxt/easy-job.nix
+10
-2
@@ -60,13 +60,20 @@ rec {
60
* Some packages reflect of pkgs to determine dependencies
61
* and options. We need to accommodate that a bit ...
62
*/
63
- fakePkgs =
64
- {
63
+ fakePkgs = {
64
stdenv = {
65
system = "generic";
66
};
67
};
68
69
+ fakePkgsMinGW = {
70
+ stdenv = {
71
+ system = "i686-cygwin";
72
+ stdenvType = "i686-mingw";
73
+ isMinGW = true;
74
+ };
75
+ };
76
+
77
/**
78
* Reflection tools for package specifications.
79
*/
@@ -138,6 +145,7 @@ rec {
145
requiresClosure = spec :
146
let closure = somespec :
147
(somespec fakePkgs).requires
148
+ ++ (somespec fakePkgsMinGW).requires
149
++ (fun.concatLists
150
(map (x : closure x) (somespec fakePkgs).requires)
151
);
supervisor/strategoxt/systems.nix
+1
-1
@@ -4,9 +4,9 @@
4
[ "i686-linux"
5
"x86_64-linux"
6
"i686-darwin"
7
+ "i686-cygwin"
8
]
9
9
- # "i686-cygwin"
10
11
# "powerpc-darwin"
12
# "powerpc-linux"