diff options
author | John Ericson <Ericson2314@yahoo.com> | 2017-04-17 17:28:01 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-17 17:28:01 -0400 |
commit | f0b634c7e838cdd65ac6f73933c99af3f38d0fa8 (patch) | |
tree | d2c2909fc40eb2e631a6f88ee3bec58c9493035e /lib/platforms.nix | |
parent | 37e5e71fdf098a45471537e9961672592ef6f72a (diff) | |
parent | 3efc661a1de6a2ce9b98aa39283e68914297b8d7 (diff) | |
download | nixlib-f0b634c7e838cdd65ac6f73933c99af3f38d0fa8.tar nixlib-f0b634c7e838cdd65ac6f73933c99af3f38d0fa8.tar.gz nixlib-f0b634c7e838cdd65ac6f73933c99af3f38d0fa8.tar.bz2 nixlib-f0b634c7e838cdd65ac6f73933c99af3f38d0fa8.tar.lz nixlib-f0b634c7e838cdd65ac6f73933c99af3f38d0fa8.tar.xz nixlib-f0b634c7e838cdd65ac6f73933c99af3f38d0fa8.tar.zst nixlib-f0b634c7e838cdd65ac6f73933c99af3f38d0fa8.zip |
Merge pull request #24610 from Ericson2314/platform-normalization
Platform normalization
Diffstat (limited to 'lib/platforms.nix')
-rw-r--r-- | lib/platforms.nix | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/lib/platforms.nix b/lib/platforms.nix deleted file mode 100644 index 6b56e1734ad6..000000000000 --- a/lib/platforms.nix +++ /dev/null @@ -1,24 +0,0 @@ -let lists = import ./lists.nix; in - -rec { - all = linux ++ darwin ++ cygwin ++ freebsd ++ openbsd ++ netbsd ++ illumos; - allBut = platforms: lists.filter (x: !(builtins.elem x platforms)) all; - none = []; - - arm = ["armv5tel-linux" "armv6l-linux" "armv7l-linux" ]; - i686 = ["i686-linux" "i686-freebsd" "i686-netbsd" "i686-cygwin"]; - mips = [ "mips64el-linux" ]; - x86_64 = ["x86_64-linux" "x86_64-darwin" "x86_64-freebsd" "x86_64-openbsd" "x86_64-netbsd" "x86_64-cygwin"]; - - cygwin = ["i686-cygwin" "x86_64-cygwin"]; - darwin = ["x86_64-darwin"]; - freebsd = ["i686-freebsd" "x86_64-freebsd"]; - gnu = linux; /* ++ hurd ++ kfreebsd ++ ... */ - illumos = ["x86_64-solaris"]; - linux = ["i686-linux" "x86_64-linux" "armv5tel-linux" "armv6l-linux" "armv7l-linux" "aarch64-linux" "mips64el-linux"]; - netbsd = ["i686-netbsd" "x86_64-netbsd"]; - openbsd = ["i686-openbsd" "x86_64-openbsd"]; - unix = linux ++ darwin ++ freebsd ++ openbsd ++ netbsd ++ illumos; - - mesaPlatforms = ["i686-linux" "x86_64-linux" "x86_64-darwin" "armv5tel-linux" "armv6l-linux" "armv7l-linux" "aarch64-linux"]; -} |