about summary refs log tree commit diff
path: root/pkgs/games
diff options
context:
space:
mode:
authorPhilip Taron <philip.taron@gmail.com>2024-03-14 11:42:12 -0700
committerValentin Gagarin <valentin.gagarin@tweag.io>2024-03-31 00:42:56 +0100
commit72f827ec28cf3f700af3b649d6fc23695302fecd (patch)
tree79d2a728a58208391d0129306c84dbb72aeaf240 /pkgs/games
parent3faad463744af05bb8136dea7fe596e70c0f70bd (diff)
Avoid top-level `with ...;` in pkgs/games/lugaru/default.nix
Diffstat (limited to 'pkgs/games')
-rw-r--r--pkgs/games/lugaru/default.nix10
1 files changed, 8 insertions, 2 deletions
diff --git a/pkgs/games/lugaru/default.nix b/pkgs/games/lugaru/default.nix
index b989195bd5a3b..ba8dcdebcec3c 100644
--- a/pkgs/games/lugaru/default.nix
+++ b/pkgs/games/lugaru/default.nix
@@ -1,7 +1,13 @@
 { lib, stdenv, fetchFromGitLab, cmake, openal, pkg-config, libogg,
   libvorbis, SDL2, makeWrapper, libpng, libjpeg_turbo, libGLU }:
 
-with lib;
+let
+  inherit (lib)
+    licenses
+    maintainers
+    platforms
+    ;
+in
 
 stdenv.mkDerivation rec {
 
@@ -27,6 +33,6 @@ stdenv.mkDerivation rec {
     homepage = "https://osslugaru.gitlab.io";
     maintainers = [ ];
     platforms = platforms.linux;
-    license = lib.licenses.gpl2Plus;
+    license = licenses.gpl2Plus;
   };
 }