GNU Patch: Fix `stdenvNative' GNU/Linux builds.

Reported by Brian Gough <bjg@gnu.org>.

svn path=/nixpkgs/trunk/; revision=21314
This commit is contained in:
Ludovic Courtès 2010-04-26 08:47:20 +00:00
parent 106ba39180
commit 9009a04e38

View file

@ -4,7 +4,7 @@ stdenv.mkDerivation rec {
name = "patch-2.6.1";
src =
if !(stdenv ? glibc)
if !stdenv.isLinux
then fetchurl {
# Temporary fix for
# http://lists.gnu.org/archive/html/bug-patch/2010-01/msg00004.html .