starspace: fix build on aarch64-darwin
This commit is contained in:
parent
059e0f8958
commit
75a4b125dd
|
@ -1,4 +1,4 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, boost165, zlib }:
|
{ lib, stdenv, fetchFromGitHub, boost, zlib }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "starspace";
|
pname = "starspace";
|
||||||
|
@ -11,11 +11,11 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "0sc7a37z1skb9377a1qs8ggwrkz0nmpybx7sms38xj05b702kbvj";
|
sha256 = "0sc7a37z1skb9377a1qs8ggwrkz0nmpybx7sms38xj05b702kbvj";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ boost165 zlib ];
|
buildInputs = [ boost zlib ];
|
||||||
|
|
||||||
makeFlags = [
|
makeFlags = [
|
||||||
"CXX=${stdenv.cc.targetPrefix}c++"
|
"CXX=${stdenv.cc.targetPrefix}c++"
|
||||||
"BOOST_DIR=${boost165.dev}/include"
|
"BOOST_DIR=${boost.dev}/include"
|
||||||
];
|
];
|
||||||
|
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
|
|
Loading…
Reference in a new issue