treewide: stdenv.lib -> lib
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
}:
|
||||
|
||||
let
|
||||
opt = stdenv.lib.optional;
|
||||
opt = lib.optional;
|
||||
mkFlag = c: f: if c then "--with-${f}" else "--without-${f}";
|
||||
|
||||
in stdenv.mkDerivation rec {
|
||||
@@ -57,7 +57,7 @@ in stdenv.mkDerivation rec {
|
||||
++ opt midiSupport timidity
|
||||
++ opt modplugSupport libmodplug
|
||||
++ opt mp3Support libmad
|
||||
++ stdenv.lib.optionals musepackSupport [ libmpc libmpcdec taglib ]
|
||||
++ lib.optionals musepackSupport [ libmpc libmpcdec taglib ]
|
||||
++ opt vorbisSupport libvorbis
|
||||
++ opt speexSupport speex
|
||||
++ opt (ffmpegSupport && !withffmpeg4) ffmpeg_3
|
||||
|
||||
Reference in New Issue
Block a user