maint: Fix nix-packaged build

(cherry picked from commit 9535898dc4fbe466addf7fde47a6cafc3d267039)
This commit is contained in:
Robert Hensing 2024-03-19 17:18:18 +01:00
parent 08781aeef7
commit caff9a2019

View file

@ -25,7 +25,9 @@
if pkgs.stdenv.cc.isClang then
null # don't set the variable
else
"-I${lib.getDev pkgs.stdenv.cc.cc}/lib/gcc/${pkgs.stdenv.hostPlatform.config}/${pkgs.stdenv.cc.cc.version}/include";
"-I${pkgs.stdenv.cc.libc.dev}/include"
+ " -I${lib.getDev pkgs.stdenv.cc.cc}/lib/gcc/${pkgs.stdenv.hostPlatform.config}/${pkgs.stdenv.cc.cc.version}/include"
;
};
};
};