freeipmi: support cross compile
This commit is contained in:
parent
986fc6057c
commit
a0ab345013
1 changed files with 6 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
{ fetchurl, lib, stdenv, libgcrypt, readline, libgpg-error }:
|
||||
{ buildPackages, fetchurl, lib, stdenv, libgcrypt, readline, libgpg-error }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.6.9";
|
||||
|
@ -9,8 +9,13 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "sha256-8l4cNfPQ8bWpnMMezCNTyoPtRqFRY4QvuocBJ9ycggY=";
|
||||
};
|
||||
|
||||
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
||||
|
||||
buildInputs = [ libgcrypt readline libgpg-error ];
|
||||
|
||||
configureFlags = lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform)
|
||||
[ "ac_cv_file__dev_urandom=true" "ac_cv_file__dev_random=true" ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = {
|
||||
|
|
Loading…
Reference in a new issue