treewide: Remove usage of remaining redundant platform compatability stuff

Want to get this out of here for 18.09, so it can be deprecated
thereafter.
This commit is contained in:
John Ericson
2018-08-30 17:20:32 -04:00
parent 2c2f1e37d4
commit 0828e2d8c3
149 changed files with 545 additions and 603 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, gettext, hostPlatform }:
{ stdenv, fetchurl, gettext }:
stdenv.mkDerivation rec {
name = "attr-2.4.47";
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
installTargets = [ "install" "install-lib" "install-dev" ];
patches = if (hostPlatform.libc == "musl") then [ ./fix-headers-musl.patch ] else null;
patches = if (stdenv.hostPlatform.libc == "musl") then [ ./fix-headers-musl.patch ] else null;
postPatch = ''
for script in install-sh include/install-sh; do