bat: drop darwin workaround

This commit is contained in:
zowoq 2020-10-17 09:18:52 +10:00
parent a55b2d659e
commit cc88d23e54

View file

@ -26,11 +26,6 @@ rustPlatform.buildRustPackage rec {
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security libiconv ]; buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security libiconv ];
# Remove after https://github.com/NixOS/nixpkgs/pull/97000 lands into master
preConfigure = stdenv.lib.optionalString stdenv.isDarwin ''
unset SDKROOT
'';
postInstall = '' postInstall = ''
installManPage $releaseDir/build/bat-*/out/assets/manual/bat.1 installManPage $releaseDir/build/bat-*/out/assets/manual/bat.1
installShellCompletion $releaseDir/build/bat-*/out/assets/completions/bat.{fish,zsh} installShellCompletion $releaseDir/build/bat-*/out/assets/completions/bat.{fish,zsh}