maint: Fix nix-packaged build
(cherry picked from commit 9535898dc4fbe466addf7fde47a6cafc3d267039)
This commit is contained in:
parent
08781aeef7
commit
caff9a2019
1 changed files with 3 additions and 1 deletions
|
|
@ -25,7 +25,9 @@
|
||||||
if pkgs.stdenv.cc.isClang then
|
if pkgs.stdenv.cc.isClang then
|
||||||
null # don't set the variable
|
null # don't set the variable
|
||||||
else
|
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"
|
||||||
|
;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue