bat: fix darwin build
This commit is contained in:
parent
ef2898f093
commit
02594b3aed
|
@ -26,6 +26,11 @@ rustPlatform.buildRustPackage rec {
|
|||
|
||||
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 = ''
|
||||
installManPage $releaseDir/build/bat-*/out/assets/manual/bat.1
|
||||
installShellCompletion $releaseDir/build/bat-*/out/assets/completions/bat.{fish,zsh}
|
||||
|
|
Loading…
Reference in New Issue