changes some targetPlatform to hostPlatform checks

This commit is contained in:
Will Dietz
2018-02-13 09:44:42 -06:00
parent 158c3c4864
commit 4aca016313
3 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, gettext, targetPlatform }:
{ stdenv, fetchurl, gettext, hostPlatform }:
stdenv.mkDerivation rec {
name = "attr-2.4.47";
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
installTargets = "install install-lib install-dev";
patches = if (targetPlatform.libc == "musl") then [ ./fix-headers-musl.patch ] else null;
patches = if (hostPlatform.libc == "musl") then [ ./fix-headers-musl.patch ] else null;
meta = {
homepage = http://savannah.nongnu.org/projects/attr/;