mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
clean up some of the nix package building
This commit is contained in:
9
Makefile
9
Makefile
@ -11,15 +11,6 @@ dev/install:
|
|||||||
cp zig-out/bin/ghostty ${HOME}/bin/devtty
|
cp zig-out/bin/ghostty ${HOME}/bin/devtty
|
||||||
.PHONY: dev/install
|
.PHONY: dev/install
|
||||||
|
|
||||||
# Create a binary deb. This isn't meant for general purpose use. This is just
|
|
||||||
# for testing. General purpose should use a real package manager (I don't
|
|
||||||
# maintain it at the moment).
|
|
||||||
deb:
|
|
||||||
rm -rf zig-out/
|
|
||||||
zig build -Doptimize=ReleaseFast -Dapp-runtime=gtk
|
|
||||||
fpm -C zig-out/ -s dir -t deb -n ghostty --prefix /usr ./
|
|
||||||
.PHONY: deb
|
|
||||||
|
|
||||||
# glad updates the GLAD loader. To use this, place the generated glad.zip
|
# glad updates the GLAD loader. To use this, place the generated glad.zip
|
||||||
# in this directory next to the Makefile, remove vendor/glad and run this target.
|
# in this directory next to the Makefile, remove vendor/glad and run this target.
|
||||||
#
|
#
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
, debugedit
|
, debugedit
|
||||||
, flatpak-builder
|
, flatpak-builder
|
||||||
, fpm
|
|
||||||
, gdb
|
, gdb
|
||||||
, glxinfo
|
, glxinfo
|
||||||
, nodejs
|
, nodejs
|
||||||
@ -67,7 +66,6 @@ in mkShell rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
# For builds
|
# For builds
|
||||||
fpm
|
|
||||||
llvmPackages_latest.llvm
|
llvmPackages_latest.llvm
|
||||||
pkg-config
|
pkg-config
|
||||||
scdoc
|
scdoc
|
||||||
|
@ -61,6 +61,7 @@ stdenv.mkDerivation rec {
|
|||||||
export MACH_SDK_PATH=${src}/vendor/mach-sdk
|
export MACH_SDK_PATH=${src}/vendor/mach-sdk
|
||||||
zig build \
|
zig build \
|
||||||
-Dcpu=baseline \
|
-Dcpu=baseline \
|
||||||
|
-Dversion-string="${version}-nixdev" \
|
||||||
--prefix $out \
|
--prefix $out \
|
||||||
install
|
install
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user