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