Merge pull request #114508 from NieDzejkob/alacritty
alacritty: fix build
This commit is contained in:
commit
dc82cbaea9
1 changed files with 1 additions and 8 deletions
|
@ -90,12 +90,7 @@ rustPlatform.buildRustPackage rec {
|
|||
--replace xdg-open ${xdg-utils}/bin/xdg-open
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -D $releaseDir/alacritty $out/bin/alacritty
|
||||
|
||||
'' + (
|
||||
postInstall = (
|
||||
if stdenv.isDarwin then ''
|
||||
mkdir $out/Applications
|
||||
cp -r extra/osx/Alacritty.app $out/Applications
|
||||
|
@ -126,8 +121,6 @@ rustPlatform.buildRustPackage rec {
|
|||
tic -xe alacritty,alacritty-direct -o "$terminfo/share/terminfo" extra/alacritty.info
|
||||
mkdir -p $out/nix-support
|
||||
echo "$terminfo" >> $out/nix-support/propagated-user-env-packages
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
dontPatchELF = true;
|
||||
|
|
Loading…
Reference in a new issue