From 95970eb095161b7c6f56223aa049ca7d2c266f6f Mon Sep 17 00:00:00 2001 From: Rob Vermaas Date: Thu, 26 Nov 2009 15:50:10 +0000 Subject: [PATCH] x86_64-darwin support for perl svn path=/nixpkgs/trunk/; revision=18652 --- pkgs/development/interpreters/perl-5.10/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/interpreters/perl-5.10/default.nix b/pkgs/development/interpreters/perl-5.10/default.nix index 442f428ac6f4..9e745ae18141 100644 --- a/pkgs/development/interpreters/perl-5.10/default.nix +++ b/pkgs/development/interpreters/perl-5.10/default.nix @@ -46,7 +46,7 @@ stdenv.mkDerivation { preBuild = '' # Make Cwd work on NixOS (where we don't have a /bin/pwd). - ${if stdenv.system == "i686-darwin" then "" else "substituteInPlace lib/Cwd.pm --replace \"'/bin/pwd'\" \"'$(type -tP pwd)'\""} + ${if stdenv.isDarwin then "" else "substituteInPlace lib/Cwd.pm --replace \"'/bin/pwd'\" \"'$(type -tP pwd)'\""} ''; setupHook = ./setup-hook.sh;