Avoid top-level `with ...;` in pkgs/games/openra_2019/common.nix

This commit is contained in:
Philip Taron 2024-03-14 11:42:51 -07:00 committed by Valentin Gagarin
parent 72f827ec28
commit 8809c41021
1 changed files with 9 additions and 2 deletions

View File

@ -7,9 +7,16 @@
, zenity
}:
with lib;
let
inherit (lib)
licenses
maintainers
makeBinPath
makeLibraryPath
optional
platforms
;
path = makeBinPath ([ mono python3 ] ++ optional (zenity != null) zenity);
rpath = makeLibraryPath [ lua freetype openal SDL2 ];
mkdirp = makeSetupHook {