mpc: darwin build fix (#355960)

This commit is contained in:
Austin Horstman 2024-11-17 12:44:40 -06:00 committed by GitHub
commit 6f4edbebba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -34,6 +34,8 @@ stdenv.mkDerivation (finalAttrs: {
python3Packages.sphinx
];
env = lib.optionalAttrs stdenv.hostPlatform.isDarwin { NIX_LDFLAGS = "-liconv"; };
postInstall = ''
installShellCompletion --cmd mpc --bash $out/share/doc/mpc/contrib/mpc-completion.bash
'';