summary refs log tree commit diff
path: root/pkgs/development/libraries/tk/8.6.nix
diff options
context:
space:
mode:
authorJosef Knedl <josef.kemetmueller@aon.at>2016-02-24 01:01:46 +0100
committerJosef Knedl <josef.kemetmueller@aon.at>2016-02-25 17:57:22 +0100
commit5e1da18b6dc3305912ccd1a54c7b0337d1cafc17 (patch)
treeb7d8cd5059ebc84e4b22e3e15b17c9cf7875b865 /pkgs/development/libraries/tk/8.6.nix
parent2ce19d0ba44a17c00e0c7105a5caeaaaf73f1675 (diff)
downloadnixpkgs-5e1da18b6dc3305912ccd1a54c7b0337d1cafc17.tar
nixpkgs-5e1da18b6dc3305912ccd1a54c7b0337d1cafc17.tar.gz
nixpkgs-5e1da18b6dc3305912ccd1a54c7b0337d1cafc17.tar.bz2
nixpkgs-5e1da18b6dc3305912ccd1a54c7b0337d1cafc17.tar.lz
nixpkgs-5e1da18b6dc3305912ccd1a54c7b0337d1cafc17.tar.xz
nixpkgs-5e1da18b6dc3305912ccd1a54c7b0337d1cafc17.tar.zst
nixpkgs-5e1da18b6dc3305912ccd1a54c7b0337d1cafc17.zip
tk: Fixes NixOS/nixpkgs#13377 (bad install_name)
Patch is based on: https://trac.macports.org/changeset/100816
of bug report: https://trac.macports.org/ticket/37395
Diffstat (limited to 'pkgs/development/libraries/tk/8.6.nix')
-rw-r--r--pkgs/development/libraries/tk/8.6.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/tk/8.6.nix b/pkgs/development/libraries/tk/8.6.nix
index 110151227bd..c10771c9109 100644
--- a/pkgs/development/libraries/tk/8.6.nix
+++ b/pkgs/development/libraries/tk/8.6.nix
@@ -1,4 +1,4 @@
-{ callPackage, fetchurl, tcl, ... } @ args:
+{ callPackage, fetchurl, tcl, stdenv, ... } @ args:
 
 callPackage ./generic.nix (args // rec {
 
@@ -7,7 +7,7 @@ callPackage ./generic.nix (args // rec {
     sha256 = "1h96vp15zl5xz0d4qp6wjyrchqmrmdm3q5k22wkw9jaxbvw9vy88";
   };
 
-  patches = [ ./different-prefix-with-tcl.patch ];
+  patches = [ ./different-prefix-with-tcl.patch ] ++ stdenv.lib.optionals stdenv.isDarwin [ ./Fix-bad-install_name-for-libtk8.6.dylib.patch ];
 
 })