diff options
author | eburimu <eburimu@users.noreply.github.com> | 2018-11-20 21:25:28 -0600 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2018-11-21 01:48:23 -0600 |
commit | 4d10fb36d466c6c4620429d409a1e65629648395 (patch) | |
tree | 2858c38f5a5973b72f43133922add2f83a59cc2d /pkgs/development/libraries/nspr | |
parent | 4d8664e593d54b4ee2722ef6c8286bac8b60418f (diff) | |
download | nixpkgs-4d10fb36d466c6c4620429d409a1e65629648395.tar nixpkgs-4d10fb36d466c6c4620429d409a1e65629648395.tar.gz nixpkgs-4d10fb36d466c6c4620429d409a1e65629648395.tar.bz2 nixpkgs-4d10fb36d466c6c4620429d409a1e65629648395.tar.lz nixpkgs-4d10fb36d466c6c4620429d409a1e65629648395.tar.xz nixpkgs-4d10fb36d466c6c4620429d409a1e65629648395.tar.zst nixpkgs-4d10fb36d466c6c4620429d409a1e65629648395.zip |
nspr: fix cross compilation
Fixes #50656
Diffstat (limited to 'pkgs/development/libraries/nspr')
-rw-r--r-- | pkgs/development/libraries/nspr/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/development/libraries/nspr/default.nix b/pkgs/development/libraries/nspr/default.nix index cdbd57d785f..56804d54667 100644 --- a/pkgs/development/libraries/nspr/default.nix +++ b/pkgs/development/libraries/nspr/default.nix @@ -1,5 +1,6 @@ { stdenv, fetchurl -, CoreServices ? null }: +, CoreServices ? null +, buildPackages }: let version = "4.20"; in @@ -21,6 +22,8 @@ stdenv.mkDerivation { substituteInPlace configure.in --replace '@executable_path/' "$out/lib/" ''; + HOST_CC = "cc"; + depsBuildBuild = [ buildPackages.stdenv.cc ]; configureFlags = [ "--enable-optimize" "--disable-debug" |