diff --git a/pkgs/applications/audio/lame/default.nix b/pkgs/applications/audio/lame/default.nix index f9c0e151c89..816afa0e24f 100644 --- a/pkgs/applications/audio/lame/default.nix +++ b/pkgs/applications/audio/lame/default.nix @@ -1,4 +1,4 @@ -{stdenv, fetchurl}: +{stdenv, fetchurl, nasm}: stdenv.mkDerivation { name = "lame-3.98.2"; @@ -7,6 +7,10 @@ stdenv.mkDerivation { sha256 = "0cmgr515szd9kd19mpzvwl3cbnpfyjyi47swj4afblcfkmb2hym1"; }; + buildInputs = [ nasm ]; + + configureFlags = [ "--enable-nasm" ]; + # Either disable static, or fix the rpath of 'lame' for it to point # properly to the libmp3lame shared object. dontDisableStatic = true; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index fce763c743a..22d3139835b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7861,7 +7861,7 @@ let }; lame = import ../applications/audio/lame { - inherit fetchurl stdenv; + inherit fetchurl stdenv nasm; }; ladspaH = import ../applications/audio/ladspa-plugins/ladspah.nix {