about summary refs log tree commit diff
path: root/pkgs/development/libraries/SDL2_gfx
diff options
context:
space:
mode:
authorBen Siraphob <bensiraphob@gmail.com>2021-01-22 00:00:13 +0700
committerJonathan Ringer <jonringer@users.noreply.github.com>2021-01-21 19:11:02 -0800
commit66e44425c6dfecbea68a5d6dc221ccd56561d4f1 (patch)
tree0a5bf7d41356ad47b4e6f0a737bf16c9a4a5b01e /pkgs/development/libraries/SDL2_gfx
parent046d24424ef32cca1227519f93f41b5ec8133f31 (diff)
pkgs/development/libraries: stdenv.lib -> lib
Diffstat (limited to 'pkgs/development/libraries/SDL2_gfx')
-rw-r--r--pkgs/development/libraries/SDL2_gfx/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/development/libraries/SDL2_gfx/default.nix b/pkgs/development/libraries/SDL2_gfx/default.nix
index 1ed56c6750ffb..2da2189b1a879 100644
--- a/pkgs/development/libraries/SDL2_gfx/default.nix
+++ b/pkgs/development/libraries/SDL2_gfx/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, darwin, fetchurl, SDL2 }:
+{ lib, stdenv, darwin, fetchurl, SDL2 }:
 
 stdenv.mkDerivation rec {
   pname = "SDL2_gfx";
@@ -10,12 +10,12 @@ stdenv.mkDerivation rec {
   };
 
   buildInputs = [ SDL2 ]
-    ++ stdenv.lib.optional stdenv.isDarwin darwin.libobjc;
+    ++ lib.optional stdenv.isDarwin darwin.libobjc;
 
   configureFlags = [(if stdenv.isi686 || stdenv.isx86_64 then "--enable-mmx" else "--disable-mmx")]
-     ++ stdenv.lib.optional stdenv.isDarwin "--disable-sdltest";
+     ++ lib.optional stdenv.isDarwin "--disable-sdltest";
 
-  meta = with stdenv.lib; {
+  meta = with lib; {
     description = "SDL graphics drawing primitives and support functions";
 
     longDescription = ''