fastd: fix build on aarch64
This commit is contained in:
parent
72a8c2c813
commit
f2a5083dc7
@ -1,5 +1,16 @@
|
|||||||
{ lib, stdenv, fetchFromGitHub, bison, meson, ninja, pkg-config
|
{ lib
|
||||||
, libuecc, libsodium, libcap, json_c, openssl }:
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, bison
|
||||||
|
, meson
|
||||||
|
, ninja
|
||||||
|
, pkg-config
|
||||||
|
, libuecc
|
||||||
|
, libsodium
|
||||||
|
, libcap
|
||||||
|
, json_c
|
||||||
|
, openssl
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "fastd";
|
pname = "fastd";
|
||||||
@ -12,8 +23,27 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1p4k50dk8byrghbr0fwmgwps8df6rlkgcd603r14i71m5g27z5gw";
|
sha256 = "1p4k50dk8byrghbr0fwmgwps8df6rlkgcd603r14i71m5g27z5gw";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config bison meson ninja ];
|
nativeBuildInputs = [
|
||||||
buildInputs = [ libuecc libsodium libcap json_c openssl ];
|
bison
|
||||||
|
meson
|
||||||
|
ninja
|
||||||
|
pkg-config
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
json_c
|
||||||
|
libcap
|
||||||
|
libsodium
|
||||||
|
libuecc
|
||||||
|
openssl
|
||||||
|
];
|
||||||
|
|
||||||
|
# some options are only available on x86
|
||||||
|
mesonFlags = lib.optionals (!stdenv.isx86_64 && !stdenv.isi686) [
|
||||||
|
"-Dcipher_salsa20_xmm=disabled"
|
||||||
|
"-Dcipher_salsa2012_xmm=disabled"
|
||||||
|
"-Dmac_ghash_pclmulqdq=disabled"
|
||||||
|
];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user