diff options
author | Guillaume Girol <symphorien@users.noreply.github.com> | 2021-01-17 15:54:29 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-17 15:54:29 +0000 |
commit | fab41ed0e622090236e7f6f93ae43c45524c647a (patch) | |
tree | 7c34bc67d02615c767389333e45207ca0dbc6ac2 /pkgs/os-specific | |
parent | 47d121591c9688f2625f3fc3e2ddfd4d423a8cf6 (diff) | |
parent | 3cab73e3c73cdfb42991b9b30ef607755ce0cfea (diff) | |
download | nixpkgs-fab41ed0e622090236e7f6f93ae43c45524c647a.tar nixpkgs-fab41ed0e622090236e7f6f93ae43c45524c647a.tar.gz nixpkgs-fab41ed0e622090236e7f6f93ae43c45524c647a.tar.bz2 nixpkgs-fab41ed0e622090236e7f6f93ae43c45524c647a.tar.lz nixpkgs-fab41ed0e622090236e7f6f93ae43c45524c647a.tar.xz nixpkgs-fab41ed0e622090236e7f6f93ae43c45524c647a.tar.zst nixpkgs-fab41ed0e622090236e7f6f93ae43c45524c647a.zip |
Merge pull request #101233 from danielfullmer/cross-klibc
klibc: fix cross-compilation
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r-- | pkgs/os-specific/linux/klibc/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/klibc/default.nix b/pkgs/os-specific/linux/klibc/default.nix index 55faa216a12..02abda7b138 100644 --- a/pkgs/os-specific/linux/klibc/default.nix +++ b/pkgs/os-specific/linux/klibc/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchurl, linuxHeaders, perl }: +{ lib, stdenv, fetchurl, buildPackages, linuxHeaders, perl }: let commonMakeFlags = [ @@ -18,7 +18,9 @@ stdenv.mkDerivation rec { patches = [ ./no-reinstall-kernel-headers.patch ]; + depsBuildBuild = [ buildPackages.stdenv.cc ]; nativeBuildInputs = [ perl ]; + strictDeps = true; hardeningDisable = [ "format" "stackprotector" ]; |