summary refs log tree commit diff
path: root/lib/systems/inspect.nix
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2017-07-09 15:12:32 -0400
committerJohn Ericson <John.Ericson@Obsidian.Systems>2017-07-10 11:13:56 -0400
commit02464668c09a3d9c8e419df913a87a84a57ce1e7 (patch)
tree5a7b5695ce0c8a1b5cbe0518f85fce170f229faa /lib/systems/inspect.nix
parent50831d543d37bb2953386922c6b5c7488f9028ba (diff)
downloadnixpkgs-02464668c09a3d9c8e419df913a87a84a57ce1e7.tar
nixpkgs-02464668c09a3d9c8e419df913a87a84a57ce1e7.tar.gz
nixpkgs-02464668c09a3d9c8e419df913a87a84a57ce1e7.tar.bz2
nixpkgs-02464668c09a3d9c8e419df913a87a84a57ce1e7.tar.lz
nixpkgs-02464668c09a3d9c8e419df913a87a84a57ce1e7.tar.xz
nixpkgs-02464668c09a3d9c8e419df913a87a84a57ce1e7.tar.zst
nixpkgs-02464668c09a3d9c8e419df913a87a84a57ce1e7.zip
lib: Add isPowerPC predicate, and fix family name
Diffstat (limited to 'lib/systems/inspect.nix')
-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 8228705272e..a81e88989c0 100644
--- a/lib/systems/inspect.nix
+++ b/lib/systems/inspect.nix
@@ -8,6 +8,7 @@ rec {
     "64bit"      = { cpu = { bits = 64; }; };
     i686         = { cpu = cpuTypes.i686; };
     x86_64       = { cpu = cpuTypes.x86_64; };
+    PowerPC      = { cpu = cpuTypes.powerpc; };
     x86          = { cpu = { family = "x86"; }; };
     Arm          = { cpu = { family = "arm"; }; };
     Mips         = { cpu = { family = "mips"; }; };