diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2019-11-25 14:09:50 +0000 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2019-11-25 14:09:50 +0000 |
commit | 765d2608b694e425743b8030570ea8c99e167558 (patch) | |
tree | 9b5f78c947a39fe41effe33d5bb36e6a3a574c9b | |
parent | ea9a2c5ec21bf088bbdef036238fa67cdc85b073 (diff) | |
download | nixpkgs-765d2608b694e425743b8030570ea8c99e167558.tar nixpkgs-765d2608b694e425743b8030570ea8c99e167558.tar.gz nixpkgs-765d2608b694e425743b8030570ea8c99e167558.tar.bz2 nixpkgs-765d2608b694e425743b8030570ea8c99e167558.tar.lz nixpkgs-765d2608b694e425743b8030570ea8c99e167558.tar.xz nixpkgs-765d2608b694e425743b8030570ea8c99e167558.tar.zst nixpkgs-765d2608b694e425743b8030570ea8c99e167558.zip |
Fix lib tests
js-ghcjs didn't fit in an existing categor.
-rw-r--r-- | lib/systems/doubles.nix | 1 | ||||
-rw-r--r-- | lib/tests/systems.nix | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/systems/doubles.nix b/lib/systems/doubles.nix index f07e9da33bc..2e3e3b9223f 100644 --- a/lib/systems/doubles.nix +++ b/lib/systems/doubles.nix @@ -47,6 +47,7 @@ in { x86_64 = filterDoubles predicates.isx86_64; mips = filterDoubles predicates.isMips; riscv = filterDoubles predicates.isRiscV; + js = filterDoubles predicates.isJavaScript; cygwin = filterDoubles predicates.isCygwin; darwin = filterDoubles predicates.isDarwin; diff --git a/lib/tests/systems.nix b/lib/tests/systems.nix index 818749442f9..6f52912994d 100644 --- a/lib/tests/systems.nix +++ b/lib/tests/systems.nix @@ -12,7 +12,7 @@ let expected = lib.sort lib.lessThan y; }; in with lib.systems.doubles; lib.runTests { - testall = mseteq all (linux ++ darwin ++ freebsd ++ openbsd ++ netbsd ++ illumos ++ wasi ++ windows ++ embedded); + testall = mseteq all (linux ++ darwin ++ freebsd ++ openbsd ++ netbsd ++ illumos ++ wasi ++ windows ++ embedded ++ js); testarm = mseteq arm [ "armv5tel-linux" "armv6l-linux" "armv7a-linux" "armv7l-linux" "arm-none" "armv7a-darwin" ]; testi686 = mseteq i686 [ "i686-linux" "i686-freebsd" "i686-netbsd" "i686-openbsd" "i686-cygwin" "i686-windows" "i686-none" "i686-darwin" ]; |