diff options
author | William A. Kennington III <william@wkennington.com> | 2015-05-22 12:59:21 -0700 |
---|---|---|
committer | William A. Kennington III <william@wkennington.com> | 2015-05-22 13:26:55 -0700 |
commit | 25a148fa196b944b3f134527da87e43d88c066f9 (patch) | |
tree | b75635c87759b11e52eba1bd7d02116257571b8a /pkgs/stdenv | |
parent | 50fa9d8eeab5e90e8d673c5d65a0af2a7c57b2fe (diff) |
Refactor mkFlag / shouldUsePkg into the nixpkgs libraries
Diffstat (limited to 'pkgs/stdenv')
-rw-r--r-- | pkgs/stdenv/generic/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/stdenv/generic/default.nix b/pkgs/stdenv/generic/default.nix index 7efd2ead2f8f7..440e9e6b4d04a 100644 --- a/pkgs/stdenv/generic/default.nix +++ b/pkgs/stdenv/generic/default.nix @@ -229,6 +229,8 @@ let || system == "armv7l-linux"; isBigEndian = system == "powerpc-linux"; + shouldUsePkg = lib.shouldUsePkgSystem system; + # Whether we should run paxctl to pax-mark binaries. needsPax = isLinux; |