Commit bb2713d6 authored by Philip Taron's avatar Philip Taron Committed by Valentin Gagarin
Browse files

Avoid top-level `with ...;` in pkgs/games/dwarf-fortress/game.nix

parent 751f1fc6
Loading
Loading
Loading
Loading
+13 −2
Original line number Diff line number Diff line
@@ -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.