From b490729bb707e1cb75a684b8374f04e531919e07 Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Thu, 29 Dec 2022 16:11:38 +0800 Subject: [PATCH] gf2x: fix cross compilation --- pkgs/development/libraries/gf2x/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/libraries/gf2x/default.nix b/pkgs/development/libraries/gf2x/default.nix index c37dcf4242d2..5060f1b65c69 100644 --- a/pkgs/development/libraries/gf2x/default.nix +++ b/pkgs/development/libraries/gf2x/default.nix @@ -2,6 +2,7 @@ , lib , fetchgit , autoreconfHook +, buildPackages , optimize ? false # impure hardware optimizations }: stdenv.mkDerivation rec { @@ -16,6 +17,8 @@ stdenv.mkDerivation rec { sha256 = "04g5jg0i4vz46b4w2dvbmahwzi3k6b8g515mfw7im1inc78s14id"; }; + depsBuildBuild = [ buildPackages.stdenv.cc ]; + nativeBuildInputs = [ autoreconfHook ];