Skip to content

Commit

Permalink
texlab: remove unused dylib of human_name
Browse files Browse the repository at this point in the history
  • Loading branch information
kira-bruneau committed Jun 4, 2022
1 parent 442db94 commit 10bef0e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkgs/development/tools/misc/texlab/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@ rustPlatform.buildRustPackage rec {

postInstall = ''
installManPage texlab.1
# Remove generated dylib of human_name dependency. TexLab statically
# links to the generated rlib and doesn't reference the dylib. I
# couldn't find any way to prevent building this by passing cargo flags.
# See https://github.com/djudd/human-name/blob/master/Cargo.toml#L43
rm "$out/lib/libhuman_name${stdenv.hostPlatform.extensions.sharedLibrary}"
rmdir "$out/lib"
'';

passthru.updateScript = nix-update-script {
Expand Down

0 comments on commit 10bef0e

Please sign in to comment.