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
|
||||
.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
|
||||
# in this directory next to the Makefile, remove vendor/glad and run this target.
|
||||
#
|
||||
|
@ -2,7 +2,6 @@
|
||||
|
||||
, debugedit
|
||||
, flatpak-builder
|
||||
, fpm
|
||||
, gdb
|
||||
, glxinfo
|
||||
, nodejs
|
||||
@ -67,7 +66,6 @@ in mkShell rec {
|
||||
|
||||
nativeBuildInputs = [
|
||||
# For builds
|
||||
fpm
|
||||
llvmPackages_latest.llvm
|
||||
pkg-config
|
||||
scdoc
|
||||
|
@ -61,6 +61,7 @@ stdenv.mkDerivation rec {
|
||||
export MACH_SDK_PATH=${src}/vendor/mach-sdk
|
||||
zig build \
|
||||
-Dcpu=baseline \
|
||||
-Dversion-string="${version}-nixdev" \
|
||||
--prefix $out \
|
||||
install
|
||||
|
||||
|
Reference in New Issue
Block a user