Merge pull request #327467 from t4ccer/t4/non/fix-waf

This commit is contained in:
Marcus Ramberg 2024-07-20 09:03:26 +03:00 committed by GitHub
commit 333e5ec8ec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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

@ -23249,7 +23249,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 { };