about summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authorVincent Weisner <vincentweisner@icloud.com>2019-02-20 14:27:47 -0500
committerMatthew Bauer <mjbauer95@gmail.com>2019-02-20 14:27:47 -0500
commit1eca8366e8d0728636d36c6da15d706acdc50bd3 (patch)
tree20a544814f94b1645cfb619345b78e56b7291548 /lib
parentbcf3bdf937b80127433ea69b8e4b11bd1ad9f10d (diff)
downloadnixlib-1eca8366e8d0728636d36c6da15d706acdc50bd3.tar
nixlib-1eca8366e8d0728636d36c6da15d706acdc50bd3.tar.gz
nixlib-1eca8366e8d0728636d36c6da15d706acdc50bd3.tar.bz2
nixlib-1eca8366e8d0728636d36c6da15d706acdc50bd3.tar.lz
nixlib-1eca8366e8d0728636d36c6da15d706acdc50bd3.tar.xz
nixlib-1eca8366e8d0728636d36c6da15d706acdc50bd3.tar.zst
nixlib-1eca8366e8d0728636d36c6da15d706acdc50bd3.zip
alpha-embedded: isAlpha code Added (#56090)
Adds isAlpha to stdenv.<platform> flags.
Diffstat (limited to 'lib')
-rw-r--r--lib/systems/inspect.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/systems/inspect.nix b/lib/systems/inspect.nix
index e35e7b4a1ec7..932f8fd1e536 100644
--- a/lib/systems/inspect.nix
+++ b/lib/systems/inspect.nix
@@ -21,6 +21,7 @@ rec {
     isSparc        = { cpu = { family = "sparc"; }; };
     isWasm         = { cpu = { family = "wasm"; }; };
     isAvr          = { cpu = { family = "avr"; }; };
+    isAlpha        = { cpu = { family = "alpha"; }; };
 
     is32bit        = { cpu = { bits = 32; }; };
     is64bit        = { cpu = { bits = 64; }; };