treewide: Remove stdenv.isCross
I *want* cross-specific overrides to be verbose, so I rather not have this shorthand. This makes the syntactic overhead more proportional to the maintainence cost. Hopefully this pushes people towards fewer conditionals and more abstractions.
This commit is contained in:
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
|
||||
] ++ stdenv.lib.optional (!stdenv.hostPlatform.isMusl) libidn;
|
||||
|
||||
# ninfod probably could build on cross, but the Makefile doesn't pass --host etc to the sub configure...
|
||||
buildFlags = "man all" + stdenv.lib.optionalString (!stdenv.isCross) " ninfod";
|
||||
buildFlags = "man all" + stdenv.lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) " ninfod";
|
||||
|
||||
installPhase =
|
||||
''
|
||||
|
||||
Reference in New Issue
Block a user