diff options
author | Ctem <ctem@onebigeyeball.org> | 2023-10-13 05:25:54 +0000 |
---|---|---|
committer | Ctem <ctem@onebigeyeball.org> | 2023-10-13 05:25:54 +0000 |
commit | c3fc9b101dbd2fe221865e3f4c5adf15a5d24c89 (patch) | |
tree | 9ef662dd1bb73add32c7cd7363013bb41b835914 /pkgs/applications/audio/ardour | |
parent | c2ed6c18430e09f9356a59c6e7d4bfeb00561728 (diff) |
ardour: make build optimization optional
Unoptimized builds enable debug logging to stdout. This is particularly useful for Lua DSP script development.
Diffstat (limited to 'pkgs/applications/audio/ardour')
-rw-r--r-- | pkgs/applications/audio/ardour/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/audio/ardour/default.nix b/pkgs/applications/audio/ardour/default.nix index 9a97b8d3c1be8..a0ca97a580ff7 100644 --- a/pkgs/applications/audio/ardour/default.nix +++ b/pkgs/applications/audio/ardour/default.nix @@ -54,6 +54,7 @@ , vamp-plugin-sdk , wafHook , xjadeo +, optimize ? true # disable to print Lua DSP script output to stdout , videoSupport ? true }: stdenv.mkDerivation rec { @@ -155,11 +156,10 @@ stdenv.mkDerivation rec { "--docs" "--freedesktop" "--no-phone-home" - "--optimize" "--ptformat" "--run-tests" "--test" - ]; + ] ++ lib.optional optimize "--optimize"; # removed because it fixes https://tracker.ardour.org/view.php?id=8161 and https://tracker.ardour.org/view.php?id=8437 # "--use-external-libs" |