mpir: fix cross compilation

This commit is contained in:
Nick Cao 2022-12-29 16:09:39 +08:00 committed by Bjørn Forsman
parent 58faa444c8
commit 0f475e3c04

View file

@ -1,9 +1,11 @@
{ lib, stdenv, fetchurl, m4, which, yasm }:
{ lib, stdenv, fetchurl, m4, which, yasm, buildPackages }:
stdenv.mkDerivation rec {
pname = "mpir";
version = "3.0.0";
depsBuildBuild = [ buildPackages.stdenv.cc ];
nativeBuildInputs = [ m4 which yasm ];
src = fetchurl {