pkgs/applications: stdenv.lib -> lib

This commit is contained in:
Ben Siraphob
2021-01-15 14:24:03 +07:00
parent 2e34288f0d
commit 108bdac3d9
427 changed files with 1160 additions and 1154 deletions
@@ -16,13 +16,13 @@ stdenv.mkDerivation rec {
];
buildInputs = [ openssl libsamplerate ]
++ stdenv.lib.optional stdenv.isLinux alsaLib
++ stdenv.lib.optional stdenv.isDarwin AppKit;
++ lib.optional stdenv.isLinux alsaLib
++ lib.optional stdenv.isDarwin AppKit;
preConfigure = ''
export LD=$CC
'' # Fixed on master, remove with 2.11
+ stdenv.lib.optionalString stdenv.isDarwin ''
+ lib.optionalString stdenv.isDarwin ''
NIX_CFLAGS_COMPILE+=" -framework Security"
'';