summary refs log tree commit diff
path: root/pkgs/applications/audio/cmus/default.nix
diff options
context:
space:
mode:
authorShawn8901 <shawn8901@googlemail.com>2023-01-21 23:06:40 +0100
committerShawn8901 <shawn8901@googlemail.com>2023-01-21 23:11:12 +0100
commit3866fa44a7f9fae7c83e53e7eea295e1f9212055 (patch)
tree516a1bc6c163a49132c65fb1a193757b103706b4 /pkgs/applications/audio/cmus/default.nix
parent66ed9c811ea3f2a49443b8788b07244d9d982348 (diff)
downloadnixpkgs-3866fa44a7f9fae7c83e53e7eea295e1f9212055.tar
nixpkgs-3866fa44a7f9fae7c83e53e7eea295e1f9212055.tar.gz
nixpkgs-3866fa44a7f9fae7c83e53e7eea295e1f9212055.tar.bz2
nixpkgs-3866fa44a7f9fae7c83e53e7eea295e1f9212055.tar.lz
nixpkgs-3866fa44a7f9fae7c83e53e7eea295e1f9212055.tar.xz
nixpkgs-3866fa44a7f9fae7c83e53e7eea295e1f9212055.tar.zst
nixpkgs-3866fa44a7f9fae7c83e53e7eea295e1f9212055.zip
treewide: remove global with lib; in pkgs/{audio,blockchain,editors}
Diffstat (limited to 'pkgs/applications/audio/cmus/default.nix')
-rw-r--r--pkgs/applications/audio/cmus/default.nix8
1 files changed, 3 insertions, 5 deletions
diff --git a/pkgs/applications/audio/cmus/default.nix b/pkgs/applications/audio/cmus/default.nix
index 66c172ff01d..61ff53aa1d7 100644
--- a/pkgs/applications/audio/cmus/default.nix
+++ b/pkgs/applications/audio/cmus/default.nix
@@ -39,8 +39,6 @@
 #, vtxSupport ? true, libayemu ? null
 }:
 
-with lib;
-
 assert samplerateSupport -> jackSupport;
 
 # vorbis and tremor are mutually exclusive
@@ -113,16 +111,16 @@ stdenv.mkDerivation rec {
 
   patches = [ ./option-debugging.patch ];
 
-  configurePhase = "./configure " + concatStringsSep " " ([
+  configurePhase = "./configure " + lib.concatStringsSep " " ([
     "prefix=$out"
     "CONFIG_WAV=y"
-  ] ++ concatMap (a: a.flags) opts);
+  ] ++ lib.concatMap (a: a.flags) opts);
 
   nativeBuildInputs = [ pkg-config ];
   buildInputs = [ ncurses ]
     ++ lib.optional stdenv.cc.isClang clangGCC
     ++ lib.optionals stdenv.isDarwin [ libiconv CoreAudio AudioUnit VideoToolbox ]
-    ++ flatten (concatMap (a: a.deps) opts);
+    ++ lib.flatten (lib.concatMap (a: a.deps) opts);
 
   makeFlags = [ "LD=$(CC)" ];