summaryrefslogtreecommitdiffstats
path: root/pkgs/development/libraries/SDL2
diff options
context:
space:
mode:
authorzowoq <59103226+zowoq@users.noreply.github.com>2021-01-22 16:56:40 +1000
committerzowoq <59103226+zowoq@users.noreply.github.com>2021-01-22 16:56:40 +1000
commit153ad8bc1e097781f5b8c560c83f0678cd690397 (patch)
treed5984e38d635425a5b7178d3fb96149b989ab8d7 /pkgs/development/libraries/SDL2
parentafc2edc3ee4473b3857cc76e6eb4517086641326 (diff)
parentd40c5e1c8f504c08fcc8921e4459506e4b3b5714 (diff)
Merge staging-next into staging
Diffstat (limited to 'pkgs/development/libraries/SDL2')
-rw-r--r--pkgs/development/libraries/SDL2/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/development/libraries/SDL2/default.nix b/pkgs/development/libraries/SDL2/default.nix
index 86c5a96b13a9..d442970ffcb0 100644
--- a/pkgs/development/libraries/SDL2/default.nix
+++ b/pkgs/development/libraries/SDL2/default.nix
@@ -1,5 +1,5 @@
-{ stdenv, config, fetchurl, pkg-config
-, libGLSupported ? stdenv.lib.elem stdenv.hostPlatform.system stdenv.lib.platforms.mesaPlatforms
+{ lib, stdenv, config, fetchurl, pkg-config
+, libGLSupported ? lib.elem stdenv.hostPlatform.system stdenv.lib.platforms.mesaPlatforms
, openglSupport ? libGLSupported, libGL
, alsaSupport ? stdenv.isLinux && !stdenv.hostPlatform.isAndroid, alsaLib
, x11Support ? !stdenv.isCygwin && !stdenv.hostPlatform.isAndroid
@@ -21,7 +21,7 @@
# NOTE: When editing this expression see if the same change applies to
# SDL expression too
-with stdenv.lib;
+with lib;
stdenv.mkDerivation rec {
pname = "SDL2";
@@ -126,7 +126,7 @@ stdenv.mkDerivation rec {
passthru = { inherit openglSupport; };
- meta = with stdenv.lib; {
+ meta = with lib; {
description = "A cross-platform multimedia library";
homepage = "http://www.libsdl.org/";
license = licenses.zlib;