From a20b3be8d3e1e2b7bf1bdc24320943538bbce643 Mon Sep 17 00:00:00 2001 From: t4ccer Date: Mon, 15 Jul 2024 13:02:42 -0600 Subject: [PATCH] ntk: fix outdated waf --- pkgs/development/libraries/audio/ntk/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/development/libraries/audio/ntk/default.nix b/pkgs/development/libraries/audio/ntk/default.nix index d101e2a960c6..4ad3ba33cb5c 100644 --- a/pkgs/development/libraries/audio/ntk/default.nix +++ b/pkgs/development/libraries/audio/ntk/default.nix @@ -15,6 +15,13 @@ stdenv.mkDerivation rec { cairo libjpeg libXft python3 ]; + # NOTE: ntk provides its own waf script that is incompatible with new + # python versions. If the script is not present, wafHook will install + # a compatible version from nixpkgs. + prePatch = '' + rm waf + ''; + meta = { description = "Fork of FLTK 1.3.0 with additional functionality"; version = version;