summary refs log tree commit diff
path: root/pkgs/applications/audio/dfasma
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/audio/dfasma')
-rw-r--r--pkgs/applications/audio/dfasma/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/applications/audio/dfasma/default.nix b/pkgs/applications/audio/dfasma/default.nix
index 065374d876b..2f236eab4e1 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
   '';