summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorhannesweisbach <hannesweisbach@users.noreply.github.com>2020-08-15 17:37:13 +0200
committerMario Rodas <marsam@users.noreply.github.com>2020-08-15 17:37:13 +0200
commit371e2622c055878c24c40379c95f0f3c10f14086 (patch)
treedd15dd893d995c850c4e21531f23ecf0b55a7198 /nixos
parent09b6b045693372a5b89d0434344ad4dd632e742a (diff)
downloadnixpkgs-371e2622c055878c24c40379c95f0f3c10f14086.tar
nixpkgs-371e2622c055878c24c40379c95f0f3c10f14086.tar.gz
nixpkgs-371e2622c055878c24c40379c95f0f3c10f14086.tar.bz2
nixpkgs-371e2622c055878c24c40379c95f0f3c10f14086.tar.lz
nixpkgs-371e2622c055878c24c40379c95f0f3c10f14086.tar.xz
nixpkgs-371e2622c055878c24c40379c95f0f3c10f14086.tar.zst
nixpkgs-371e2622c055878c24c40379c95f0f3c10f14086.zip
tk: fix build on darwin
Installing libtk on macOS 10.15.5 resulted in a following warning:

    warning: skipping dangling symlink '/nix/store/3whl4256v6qf15dsm1d5mf0lzhfh6w06-user-environment/lib/libtk.so'

which was caused by the following code in generic.nix of the tk derivation:

    ln -s $out/lib/libtk${super.tcl.release}.so $out/lib/libtk.so

Shared libraries on macOS are suffixed `.dylib' not 'so' so
libtk${version}.so does not actually exist. Consequently a symlink from
libtk.dylib is never created and linking against tk fails.
Diffstat (limited to 'nixos')
0 files changed, 0 insertions, 0 deletions