packaging: add pkg-config dep on kj

Since we include kj from a header, we need to add a dependency to force
downstreams to also have it as a declared dependency or at least put it
in their include dir paths.

Given kj is what it is, this is basically unavoidable that this
dependency is visible.

Change-Id: Ia89a90f10ad8b821260db0d7fdc47aebda44e66a
This commit is contained in:
Jade Lovelace
2025-01-24 11:17:40 -08:00
parent ca68979174
commit 203a48eb83
2 changed files with 4 additions and 1 deletions
+2 -1
View File
@@ -3,6 +3,7 @@ libdir=@libdir@
includedir=@includedir@
Name: Lix base
Description: Lix Package Manager (config.hh fixup)
Description: Lix Package Manager (base include dir)
Version: @PACKAGE_VERSION@
Requires: kj-async
Cflags: -I${includedir}
+2
View File
@@ -45,6 +45,8 @@ perl.pkgs.toPerlModule (
boost
perlPackages.DBI
perlPackages.DBDSQLite
# for kj-async
nix.passthru.capnproto-nix
]
++ lib.optional (stdenv.isLinux || stdenv.isDarwin) libsodium
++ lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Security;