forked from lix-project/lix
Use buildPackages for native dependencies
Unfortunately, releaseTools.nixBuild does not separate native and non-native build inputs. As an alternative, we can just use buildPackages to get the native version of some packages like: - pkgconfig - git - curl - utillinux
This commit is contained in:
parent
15833516a4
commit
1996af425a
|
@ -50,14 +50,16 @@ rec {
|
||||||
buildDeps =
|
buildDeps =
|
||||||
[ curl
|
[ curl
|
||||||
bzip2 xz brotli editline
|
bzip2 xz brotli editline
|
||||||
openssl pkgconfig sqlite boehmgc
|
openssl sqlite boehmgc
|
||||||
boost
|
boost
|
||||||
|
|
||||||
|
buildPackages.pkgconfig
|
||||||
|
|
||||||
# Tests
|
# Tests
|
||||||
git
|
buildPackages.git
|
||||||
mercurial
|
buildPackages.mercurial
|
||||||
]
|
]
|
||||||
++ lib.optionals stdenv.isLinux [libseccomp utillinuxMinimal]
|
++ lib.optionals stdenv.isLinux [libseccomp buildPackages.utillinuxMinimal]
|
||||||
++ lib.optional (stdenv.isLinux || stdenv.isDarwin) libsodium
|
++ lib.optional (stdenv.isLinux || stdenv.isDarwin) libsodium
|
||||||
++ lib.optional (stdenv.isLinux || stdenv.isDarwin)
|
++ lib.optional (stdenv.isLinux || stdenv.isDarwin)
|
||||||
((aws-sdk-cpp.override {
|
((aws-sdk-cpp.override {
|
||||||
|
|
Loading…
Reference in a new issue