mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-25 23:36:16 +02:00
Fix cross builds
This commit is contained in:
parent
eff9b12bc2
commit
2c3749a335
1 changed files with 7 additions and 4 deletions
11
package.nix
11
package.nix
|
@ -123,6 +123,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
openssl
|
openssl
|
||||||
sqlite
|
sqlite
|
||||||
xz
|
xz
|
||||||
|
|
||||||
|
# These could be checkInputs but the configure phase fails w/o them
|
||||||
|
gtest
|
||||||
|
rapidcheck
|
||||||
]
|
]
|
||||||
++ lib.optional stdenv.isLinux libseccomp
|
++ lib.optional stdenv.isLinux libseccomp
|
||||||
++ lib.optional stdenv.hostPlatform.isx86_64 libcpuid
|
++ lib.optional stdenv.hostPlatform.isx86_64 libcpuid
|
||||||
|
@ -137,14 +141,13 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
gtest
|
# see buildInputs. The configure script always wants its test libs
|
||||||
rapidcheck
|
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
git
|
git
|
||||||
mercurial # FIXME: remove? only needed for tests
|
mercurial
|
||||||
openssh # only needed for tests (ssh-keygen)
|
openssh
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
|
Loading…
Reference in a new issue