build ghostty nix package with ReleaseSafe
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 = ''
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue