diff options
author | Philip Taron <philip.taron@gmail.com> | 2024-03-14 11:35:25 -0700 |
---|---|---|
committer | Valentin Gagarin <valentin.gagarin@tweag.io> | 2024-03-31 00:42:56 +0100 |
commit | bb2713d671d55aaa33c96c36aaa2001694f97886 (patch) | |
tree | cec2995b417d431be836698bb29a121c035a0de3 /pkgs/games | |
parent | 751f1fc693e6a9684cd604f24cccc5f81ca96f66 (diff) |
Avoid top-level `with ...;` in pkgs/games/dwarf-fortress/game.nix
Diffstat (limited to 'pkgs/games')
-rw-r--r-- | pkgs/games/dwarf-fortress/game.nix | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/pkgs/games/dwarf-fortress/game.nix b/pkgs/games/dwarf-fortress/game.nix index 7ce837b7b0b5..8d351cdbbd0d 100644 --- a/pkgs/games/dwarf-fortress/game.nix +++ b/pkgs/games/dwarf-fortress/game.nix @@ -13,9 +13,20 @@ , df-hashes }: -with lib; - let + inherit (lib) + attrNames + elemAt + getAttr + getLib + hasAttr + licenses + maintainers + makeLibraryPath + optionalString + splitVersion + ; + libpath = makeLibraryPath [ stdenv.cc.cc stdenv.cc.libc dwarf-fortress-unfuck SDL ]; # Map Dwarf Fortress platform names to Nixpkgs platform names. |