From 5bb3380b1d02b95908b89b1720da3f485afbc317 Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Tue, 6 Feb 2018 08:55:52 -0600 Subject: [PATCH] pam: depsBuildBuild for buildPackages.stdenv.cc --- pkgs/os-specific/linux/pam/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/pam/default.nix b/pkgs/os-specific/linux/pam/default.nix index a392461ad9f38..74159c1e185d4 100644 --- a/pkgs/os-specific/linux/pam/default.nix +++ b/pkgs/os-specific/linux/pam/default.nix @@ -26,7 +26,8 @@ stdenv.mkDerivation rec { outputs = [ "out" "doc" "man" /* "modules" */ ]; - nativeBuildInputs = [ buildPackages.stdenv.cc flex ]; + depsBuildBuild = [ buildPackages.stdenv.cc ]; + nativeBuildInputs = [ flex ]; buildInputs = [ cracklib ];