summary refs log tree commit diff
path: root/pkgs/applications/audio/audacity/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/audio/audacity/default.nix')
-rw-r--r--pkgs/applications/audio/audacity/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/applications/audio/audacity/default.nix b/pkgs/applications/audio/audacity/default.nix
index 653d5555eb1..953e9887f5a 100644
--- a/pkgs/applications/audio/audacity/default.nix
+++ b/pkgs/applications/audio/audacity/default.nix
@@ -167,6 +167,9 @@ in stdenv.mkDerivation rec {
     "-DDISABLE_DYNAMIC_LOADING_FFMPEG=ON"
     "-Daudacity_conan_enabled=Off"
     "-Daudacity_use_ffmpeg=loaded"
+
+    # RPATH of binary /nix/store/.../bin/... contains a forbidden reference to /build/
+    "-DCMAKE_SKIP_BUILD_RPATH=ON"
   ];
 
   doCheck = false; # Test fails