Skip to content

Commit 1840192

Browse files
committed
fixup! build: do not pass vendored headers when building against shared libs
1 parent 06b704f commit 1840192

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

‎tools/nix/ci-shell.nix‎

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,15 @@ args@{
3232
# hidden by cc-wrapper's -isystem/-L for every buildInput.
3333
buildInputs = map (
3434
dep:
35-
pkgs.runCommand "${dep.name or (baseNameOf (toString dep))}-pkg-config-only"
35+
pkgs.runCommand
36+
"${
37+
dep.name or (
38+
let
39+
name = baseNameOf (toString dep);
40+
in
41+
if builtins.stringLength name > 35 then builtins.substring 33 (-1) name else name
42+
)
43+
}-pkg-config-only"
3644
{
3745
nativeBuildInputs = [ pkgs.pkgconf ];
3846
buildInputs = [ dep ];

0 commit comments

Comments
 (0)