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

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

From trunk@21314

svn path=/nixpkgs/branches/mass-update-01/; revision=21371
This commit is contained in:
Yury G. Kudryashov
2010-04-27 20:55:15 +00:00
parent 3f8f4e7202
commit 5d6dabc337

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 .