From 4ed5b4c7fdedaf05ad1f1da79a9f4ada9147161a Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sat, 8 Aug 2015 04:03:50 +0200 Subject: [PATCH] dfasma: patch around broken version detection --- pkgs/applications/audio/dfasma/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/applications/audio/dfasma/default.nix b/pkgs/applications/audio/dfasma/default.nix index 065374d876b8..2f236eab4e17 100644 --- a/pkgs/applications/audio/dfasma/default.nix +++ b/pkgs/applications/audio/dfasma/default.nix @@ -30,6 +30,10 @@ stdenv.mkDerivation { buildInputs = [ fftw libsndfile qt5.base qt5.multimedia ]; + postPatch = '' + substituteInPlace dfasma.pro --replace '$$DFASMAVERSIONGITPRO' '${version}' + ''; + configurePhase = '' qmake DESTDIR=$out/bin dfasma.pro '';