non: fix outdated waf

This commit is contained in:
t4ccer 2024-07-15 13:55:10 -06:00
parent 49f3d5c917
commit 96f4c0fde8
No known key found for this signature in database
GPG Key ID: 19E5A2D8B1E43F19
2 changed files with 10 additions and 1 deletions

View File

@ -17,6 +17,13 @@ stdenv.mkDerivation {
ladspaH liblo libsigcxx lrdf
];
# NOTE: non 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
'';
env.CXXFLAGS = "-std=c++14";
meta = {

View File

@ -23253,7 +23253,9 @@ with pkgs;
nntp-proxy = callPackage ../applications/networking/nntp-proxy { };
non = callPackage ../applications/audio/non { };
non = callPackage ../applications/audio/non {
wafHook = (waf.override { extraTools = [ "gccdeps" ]; }).hook;
};
ntl = callPackage ../development/libraries/ntl { };