diff --git a/pkgs/applications/video/mpv/default.nix b/pkgs/applications/video/mpv/default.nix index 4e1594e54f5..bb91ca5beb5 100644 --- a/pkgs/applications/video/mpv/default.nix +++ b/pkgs/applications/video/mpv/default.nix @@ -86,9 +86,6 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ python3 lua5 perl ]; - postConfigure = '' - patchShebangs TOOLS - ''; # There are almost no need of "configure flags", but some libraries # weren't detected; see the TODO comments below @@ -99,6 +96,7 @@ stdenv.mkDerivation rec { configurePhase = '' python3 ${waf} configure --prefix=$out + patchShebangs TOOLS ''; buildPhase = ''