diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2018-05-10 23:55:06 -0500 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2018-05-10 23:58:12 -0500 |
commit | 236b89afebaf55a09c7ec3bea6136871c4d03884 (patch) | |
tree | 8f246159e9a2125103c05e16b77c26a908784563 /pkgs/games/dwarf-fortress/default.nix | |
parent | b45552c35aea6e2cd3ef1edb877574fcec191859 (diff) |
dwarf-fortress: supports darwin
Diffstat (limited to 'pkgs/games/dwarf-fortress/default.nix')
-rw-r--r-- | pkgs/games/dwarf-fortress/default.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/games/dwarf-fortress/default.nix b/pkgs/games/dwarf-fortress/default.nix index c759c4c60dae6..82710256c631c 100644 --- a/pkgs/games/dwarf-fortress/default.nix +++ b/pkgs/games/dwarf-fortress/default.nix @@ -1,4 +1,4 @@ -{ pkgs, pkgsi686Linux }: +{ pkgs, pkgsi686Linux, stdenv }: let callPackage = pkgs.newScope self; @@ -13,7 +13,9 @@ let soundSense = callPackage ./soundsense.nix { }; - dwarf-fortress-unfuck = callPackage ./unfuck.nix { }; + # unfuck is linux-only right now, we will just use it there + dwarf-fortress-unfuck = if stdenv.isLinux then callPackage ./unfuck.nix { } + else null; dwarf-fortress = callPackage ./wrapper { themes = { |