summary refs log tree commit diff
path: root/lib/systems/default.nix
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2019-01-27 17:29:23 -0500
committerGitHub <noreply@github.com>2019-01-27 17:29:23 -0500
commitbf041c3f1d5e63e27b531faf69244fe99fcfd6c1 (patch)
tree6e68655b416728d93a251a8ee5257df79c1d71df /lib/systems/default.nix
parent15e8d1d3149dea3bd76dfbb26f71396fef0227d3 (diff)
downloadnixpkgs-bf041c3f1d5e63e27b531faf69244fe99fcfd6c1.tar
nixpkgs-bf041c3f1d5e63e27b531faf69244fe99fcfd6c1.tar.gz
nixpkgs-bf041c3f1d5e63e27b531faf69244fe99fcfd6c1.tar.bz2
nixpkgs-bf041c3f1d5e63e27b531faf69244fe99fcfd6c1.tar.lz
nixpkgs-bf041c3f1d5e63e27b531faf69244fe99fcfd6c1.tar.xz
nixpkgs-bf041c3f1d5e63e27b531faf69244fe99fcfd6c1.tar.zst
nixpkgs-bf041c3f1d5e63e27b531faf69244fe99fcfd6c1.zip
systems/default.nix: wasm in platform.uname.system
This adds the "Wasm" system to platform.uname.system. This is used in CMake infrastructure.
Diffstat (limited to 'lib/systems/default.nix')
-rw-r--r--lib/systems/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/systems/default.nix b/lib/systems/default.nix
index 9b25052ab88..77f20095295 100644
--- a/lib/systems/default.nix
+++ b/lib/systems/default.nix
@@ -58,6 +58,7 @@ rec {
           "netbsd" = "NetBSD";
           "freebsd" = "FreeBSD";
           "openbsd" = "OpenBSD";
+          "wasm" = "Wasm";
         }.${final.parsed.kernel.name} or null;
 
          # uname -p