Make platforms.allBut accept a list rather than a single platform
This commit is contained in:
parent
9300470b5e
commit
b331ae33d7
@ -11,6 +11,6 @@ rec {
|
|||||||
unix = linux ++ darwin ++ freebsd ++ openbsd;
|
unix = linux ++ darwin ++ freebsd ++ openbsd;
|
||||||
all = linux ++ darwin ++ cygwin ++ freebsd ++ openbsd;
|
all = linux ++ darwin ++ cygwin ++ freebsd ++ openbsd;
|
||||||
none = [];
|
none = [];
|
||||||
allBut = platform: lists.filter (x: platform != x) all;
|
allBut = platforms: lists.filter (x: !(builtins.elem x platforms)) all;
|
||||||
mesaPlatforms = ["i686-linux" "x86_64-linux" "x86_64-darwin" "armv5tel-linux" "armv6l-linux"];
|
mesaPlatforms = ["i686-linux" "x86_64-linux" "x86_64-darwin" "armv5tel-linux" "armv6l-linux"];
|
||||||
}
|
}
|
||||||
|
@ -24,7 +24,7 @@ stdenv.mkDerivation {
|
|||||||
homepage = http://www.call-cc.org/;
|
homepage = http://www.call-cc.org/;
|
||||||
license = "BSD";
|
license = "BSD";
|
||||||
maintainers = with stdenv.lib.maintainers; [ the-kenny ];
|
maintainers = with stdenv.lib.maintainers; [ the-kenny ];
|
||||||
platforms = stdenv.lib.platforms.allBut "x86_64-darwin";
|
platforms = with stdenv.lib.platforms; allBut darwin;
|
||||||
description = "A portable compiler for the Scheme programming language";
|
description = "A portable compiler for the Scheme programming language";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
CHICKEN is a compiler for the Scheme programming language.
|
CHICKEN is a compiler for the Scheme programming language.
|
||||||
|
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
|||||||
description = "binary decision diagram package";
|
description = "binary decision diagram package";
|
||||||
license = "as-is";
|
license = "as-is";
|
||||||
|
|
||||||
platforms = stdenv.lib.platforms.allBut "i686-cygwin";
|
platforms = with stdenv.lib.platforms; allBut cygwin;
|
||||||
maintainers = [ stdenv.lib.maintainers.simons ];
|
maintainers = [ stdenv.lib.maintainers.simons ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -14,6 +14,6 @@ stdenv.mkDerivation rec {
|
|||||||
description = "C/C++ library for numbers, a part of GiNaC";
|
description = "C/C++ library for numbers, a part of GiNaC";
|
||||||
homepage = http://www.ginac.de/CLN/;
|
homepage = http://www.ginac.de/CLN/;
|
||||||
maintainers = [ stdenv.lib.maintainers.urkud ];
|
maintainers = [ stdenv.lib.maintainers.urkud ];
|
||||||
platforms = stdenv.lib.platforms.allBut "i686-cygwin";
|
platforms = with stdenv.lib.platforms; allBut cygwin;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -74,6 +74,6 @@ stdenv.mkDerivation rec {
|
|||||||
make[3]: *** [Box.lo] Error 1
|
make[3]: *** [Box.lo] Error 1
|
||||||
|
|
||||||
*/
|
*/
|
||||||
platforms = stdenv.lib.platforms.allBut "i686-cygwin";
|
platforms = with stdenv.lib.platforms; allBut cygwin;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -58,6 +58,6 @@ stdenv.mkDerivation rec {
|
|||||||
make[3]: *** [Box.lo] Error 1
|
make[3]: *** [Box.lo] Error 1
|
||||||
|
|
||||||
*/
|
*/
|
||||||
platforms = stdenv.lib.platforms.allBut "i686-cygwin";
|
platforms = with stdenv.lib.platforms; allBut cygwin;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -35,6 +35,6 @@ stdenv.mkDerivation rec {
|
|||||||
maintainers = [ stdenv.lib.maintainers.marcweber
|
maintainers = [ stdenv.lib.maintainers.marcweber
|
||||||
stdenv.lib.maintainers.ludo
|
stdenv.lib.maintainers.ludo
|
||||||
];
|
];
|
||||||
platforms = stdenv.lib.platforms.allBut "i686-freebsd";
|
platforms = with stdenv.lib.platforms; allBut freebsd;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -40,6 +40,6 @@ stdenv.mkDerivation rec {
|
|||||||
homepage = "http://www.jwz.org/xscreensaver/";
|
homepage = "http://www.jwz.org/xscreensaver/";
|
||||||
description = "A set of screensavers";
|
description = "A set of screensavers";
|
||||||
maintainers = with stdenv.lib.maintainers; [ raskin urkud ];
|
maintainers = with stdenv.lib.maintainers; [ raskin urkud ];
|
||||||
platforms = stdenv.lib.platforms.allBut "i686-cygwin";
|
platforms = with stdenv.lib.platforms; allBut cygwin;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
|
|||||||
homepage = http://www.cybercom.net/~dcoffin/dcraw/;
|
homepage = http://www.cybercom.net/~dcoffin/dcraw/;
|
||||||
description = "Decoder for many camera raw picture formats";
|
description = "Decoder for many camera raw picture formats";
|
||||||
license = "free";
|
license = "free";
|
||||||
platforms = stdenv.lib.platforms.allBut "i686-cygwin";
|
platforms = with stdenv.lib.platforms; allBut cygwin;
|
||||||
maintainers = [ stdenv.lib.maintainers.urkud ];
|
maintainers = [ stdenv.lib.maintainers.urkud ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -25,6 +25,6 @@ stdenv.mkDerivation rec {
|
|||||||
homepage = http://www.gnu.org/software/acct/;
|
homepage = http://www.gnu.org/software/acct/;
|
||||||
|
|
||||||
maintainers = [ ];
|
maintainers = [ ];
|
||||||
platforms = stdenv.lib.platforms.allBut "i686-cygwin";
|
platforms = with stdenv.lib.platforms; allBut cygwin;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -23,7 +23,7 @@ with import ./release-lib.nix { inherit supportedSystems; };
|
|||||||
aterm28 = all;
|
aterm28 = all;
|
||||||
autoconf = all;
|
autoconf = all;
|
||||||
automake = all;
|
automake = all;
|
||||||
avahi = allBut "i686-cygwin"; # Cygwin builds fail
|
avahi = allBut cygwin; # Cygwin builds fail
|
||||||
bash = all;
|
bash = all;
|
||||||
bashInteractive = all;
|
bashInteractive = all;
|
||||||
bc = all;
|
bc = all;
|
||||||
@ -59,7 +59,7 @@ with import ./release-lib.nix { inherit supportedSystems; };
|
|||||||
gnumake = all;
|
gnumake = all;
|
||||||
gnupatch = all;
|
gnupatch = all;
|
||||||
gnupg = linux;
|
gnupg = linux;
|
||||||
gnuplot = allBut "i686-cygwin";
|
gnuplot = allBut cygwin;
|
||||||
gnused = all;
|
gnused = all;
|
||||||
gnutar = all;
|
gnutar = all;
|
||||||
gnutls = linux;
|
gnutls = linux;
|
||||||
@ -142,7 +142,7 @@ with import ./release-lib.nix { inherit supportedSystems; };
|
|||||||
policykit = linux;
|
policykit = linux;
|
||||||
portmap = linux;
|
portmap = linux;
|
||||||
procps = linux;
|
procps = linux;
|
||||||
python = allBut "i686-cygwin";
|
python = allBut cygwin;
|
||||||
pythonFull = linux;
|
pythonFull = linux;
|
||||||
readline = all;
|
readline = all;
|
||||||
rlwrap = all;
|
rlwrap = all;
|
||||||
@ -152,9 +152,9 @@ with import ./release-lib.nix { inherit supportedSystems; };
|
|||||||
scrot = linux;
|
scrot = linux;
|
||||||
sdparm = linux;
|
sdparm = linux;
|
||||||
sharutils = all;
|
sharutils = all;
|
||||||
sloccount = allBut "i686-cygwin";
|
sloccount = allBut cygwin;
|
||||||
smartmontools = all;
|
smartmontools = all;
|
||||||
sqlite = allBut "i686-cygwin";
|
sqlite = allBut cygwin;
|
||||||
squid = linux;
|
squid = linux;
|
||||||
ssmtp = linux;
|
ssmtp = linux;
|
||||||
stdenv = prio 175 all;
|
stdenv = prio 175 all;
|
||||||
|
@ -53,7 +53,7 @@ let
|
|||||||
audacious = linux;
|
audacious = linux;
|
||||||
autoconf = all;
|
autoconf = all;
|
||||||
automake = all;
|
automake = all;
|
||||||
avahi = allBut "i686-cygwin"; # Cygwin builds fail
|
avahi = allBut cygwin; # Cygwin builds fail
|
||||||
bash = all;
|
bash = all;
|
||||||
bashInteractive = all;
|
bashInteractive = all;
|
||||||
bazaar = linux; # first let sqlite3 work on darwin
|
bazaar = linux; # first let sqlite3 work on darwin
|
||||||
@ -133,7 +133,7 @@ let
|
|||||||
gnumake = all;
|
gnumake = all;
|
||||||
gnupatch = all;
|
gnupatch = all;
|
||||||
gnupg = linux;
|
gnupg = linux;
|
||||||
gnuplot = allBut "i686-cygwin";
|
gnuplot = allBut cygwin;
|
||||||
gnused = all;
|
gnused = all;
|
||||||
gnutar = all;
|
gnutar = all;
|
||||||
gnutls = linux;
|
gnutls = linux;
|
||||||
@ -211,7 +211,7 @@ let
|
|||||||
mysql = linux;
|
mysql = linux;
|
||||||
mysql51 = linux;
|
mysql51 = linux;
|
||||||
mysql55 = linux;
|
mysql55 = linux;
|
||||||
nano = allBut "i686-cygwin";
|
nano = allBut cygwin;
|
||||||
ncat = linux;
|
ncat = linux;
|
||||||
netcat = all;
|
netcat = all;
|
||||||
nfsUtils = linux;
|
nfsUtils = linux;
|
||||||
@ -244,7 +244,7 @@ let
|
|||||||
pthreadmanpages = linux;
|
pthreadmanpages = linux;
|
||||||
pygtk = linux;
|
pygtk = linux;
|
||||||
pyqt4 = linux;
|
pyqt4 = linux;
|
||||||
python = allBut "i686-cygwin";
|
python = allBut cygwin;
|
||||||
pythonFull = linux;
|
pythonFull = linux;
|
||||||
sbcl = linux;
|
sbcl = linux;
|
||||||
qt3 = linux;
|
qt3 = linux;
|
||||||
@ -255,7 +255,7 @@ let
|
|||||||
rogue = all;
|
rogue = all;
|
||||||
rpm = linux;
|
rpm = linux;
|
||||||
rsync = linux;
|
rsync = linux;
|
||||||
rubber = allBut "i686-cygwin";
|
rubber = allBut cygwin;
|
||||||
ruby = all;
|
ruby = all;
|
||||||
rxvt_unicode = linux;
|
rxvt_unicode = linux;
|
||||||
screen = linux ++ darwin;
|
screen = linux ++ darwin;
|
||||||
@ -265,10 +265,10 @@ let
|
|||||||
sgtpuzzles = linux;
|
sgtpuzzles = linux;
|
||||||
sharutils = all;
|
sharutils = all;
|
||||||
slim = linux;
|
slim = linux;
|
||||||
sloccount = allBut "i686-cygwin";
|
sloccount = allBut cygwin;
|
||||||
smartmontools = linux;
|
smartmontools = linux;
|
||||||
spidermonkey = linux;
|
spidermonkey = linux;
|
||||||
sqlite = allBut "i686-cygwin";
|
sqlite = allBut cygwin;
|
||||||
squid = linux;
|
squid = linux;
|
||||||
ssmtp = linux;
|
ssmtp = linux;
|
||||||
stdenv = prio 175 all;
|
stdenv = prio 175 all;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user