stdenv: define is* predicates with hostPlatform.is*

This is a saner default until stdenv's are removed altogether
This commit is contained in:
John Ericson
2017-05-22 00:25:02 -04:00
parent c5c6606048
commit 1dc6f15de9
6 changed files with 50 additions and 59 deletions
+3
View File
@@ -81,6 +81,9 @@ let
{ cc, fetchurl, extraPath ? [], overrides ? (self: super: { }) }:
import ../generic {
hostPlatform = localSystem;
targetPlatform = localSystem;
preHook =
if system == "i686-freebsd" then prehookFreeBSD else
if system == "x86_64-freebsd" then prehookFreeBSD else