mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 15:56:13 +03:00
build ghostty nix package with ReleaseSafe
This commit is contained in:

committed by
Mitchell Hashimoto

parent
1ac0980ea0
commit
a69d9507b3
@ -132,6 +132,18 @@ in
|
|||||||
chmod u+rwX -R $ZIG_GLOBAL_CACHE_DIR
|
chmod u+rwX -R $ZIG_GLOBAL_CACHE_DIR
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
buildPhase = ''
|
||||||
|
runHook preBuild
|
||||||
|
zig build -Dcpu=baseline -Doptimize=ReleaseSafe -Dversion-string=${finalAttrs.version}-${revision}-nix
|
||||||
|
runHook postBuild
|
||||||
|
'';
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
zig build install -Dcpu=baseline -Doptimize=ReleaseSafe -Dversion-string=${finalAttrs.version}-${revision}-nix --prefix $out
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
outputs = ["out" "terminfo" "shell_integration"];
|
outputs = ["out" "terminfo" "shell_integration"];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
Reference in New Issue
Block a user