mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 23:54:01 +00:00
a1ea759dd9
svn path=/nixpkgs/trunk/; revision=16877
12 lines
344 B
Nix
12 lines
344 B
Nix
let
|
|
lists = import ./lists.nix;
|
|
in
|
|
rec {
|
|
linux = ["i686-linux" "x86_64-linux" "powerpc-linux"];
|
|
darwin = ["i686-darwin" "powerpc-darwin"];
|
|
freebsd = ["i686-freebsd" "x86_64-freebsd" "powerpc-freebsd"];
|
|
cygwin = ["i686-cygwin"];
|
|
all = linux ++ darwin ++ cygwin ++ freebsd;
|
|
allBut = platform: lists.filter (x: platform != x) all;
|
|
}
|