Loading pkgs/by-name/gh/ghostty/deps.nix +7 −7 Original line number Diff line number Diff line # generated by zon2nix (https://github.com/Cloudef/zig2nix) { lib, linkFarm, Loading @@ -8,14 +9,13 @@ zig, name ? "zig-packages", }: with builtins; with lib; let unpackZigArtifact = { name, artifact, }: { name, artifact }: runCommandLocal name { nativeBuildInputs = [ zig ]; Loading Loading @@ -169,11 +169,11 @@ linkFarm name [ }; } { name = "12204358b2848ffd993d3425055bff0a5ba9b1b60bead763a6dea0517965d7290a6c"; name = "1220cc25b537556a42b0948437c791214c229efb78b551c80b1e9b18d70bf0498620"; path = fetchZigArtifact { name = "iterm2_themes"; url = "https://github.com/mbadolato/iTerm2-Color-Schemes/archive/d6c42066b3045292e0b1154ad84ff22d6863ebf7.tar.gz"; hash = "sha256-s6us3PkOPmQCtLS9QNPM7BDLt7x+37KbmYF9d4NMD/c="; url = "https://github.com/mbadolato/iTerm2-Color-Schemes/archive/e030599a6a6e19fcd1ea047c7714021170129d56.tar.gz"; hash = "sha256-hFGjD0rNfZ7Qd7uJZgVn+FmIVXunbjLT+E1BoXhXoJE="; }; } { Loading pkgs/by-name/gh/ghostty/package.nix +6 −12 Original line number Diff line number Diff line Loading @@ -44,8 +44,7 @@ in stdenv.mkDerivation (finalAttrs: { pname = "ghostty"; version = "1.0.0"; version = "1.0.1"; outputs = [ "out" "man" Loading @@ -58,15 +57,9 @@ stdenv.mkDerivation (finalAttrs: { owner = "ghostty-org"; repo = "ghostty"; tag = "v${finalAttrs.version}"; hash = "sha256-AHI1Z4mfgXkNwQA8xYq4tS0/BARbHL7gQUT41vCxQTM="; hash = "sha256-BiXFNeoL+BYpiqzCuDIrZGQ6JVI8cBOXerJH48CbnxU="; }; # Avoid using runtime hacks to help find X11 postPatch = lib.optionalString (appRuntime == "gtk") '' substituteInPlace src/apprt/gtk/x11.zig \ --replace-warn 'std.DynLib.open("libX11.so");' 'std.DynLib.open("${lib.getLib libX11}/lib/libX11.so");' ''; deps = callPackage ./deps.nix { name = "${finalAttrs.pname}-cache-${finalAttrs.version}"; }; Loading Loading @@ -118,8 +111,7 @@ stdenv.mkDerivation (finalAttrs: { zigCheckFlags = finalAttrs.zigBuildFlags; # Unit tests currently fail inside the sandbox doCheck = false; doCheck = true; /** Ghostty really likes all of it's resources to be in the same directory, so link them back after we split them Loading Loading @@ -186,7 +178,9 @@ stdenv.mkDerivation (finalAttrs: { ''; homepage = "https://ghostty.org/"; downloadPage = "https://ghostty.org/download"; changelog = "https://ghostty.org/docs/install/release-notes/${ builtins.replaceStrings [ "." ] [ "-" ] finalAttrs.version }"; license = lib.licenses.mit; mainProgram = "ghostty"; maintainers = with lib.maintainers; [ Loading Loading
pkgs/by-name/gh/ghostty/deps.nix +7 −7 Original line number Diff line number Diff line # generated by zon2nix (https://github.com/Cloudef/zig2nix) { lib, linkFarm, Loading @@ -8,14 +9,13 @@ zig, name ? "zig-packages", }: with builtins; with lib; let unpackZigArtifact = { name, artifact, }: { name, artifact }: runCommandLocal name { nativeBuildInputs = [ zig ]; Loading Loading @@ -169,11 +169,11 @@ linkFarm name [ }; } { name = "12204358b2848ffd993d3425055bff0a5ba9b1b60bead763a6dea0517965d7290a6c"; name = "1220cc25b537556a42b0948437c791214c229efb78b551c80b1e9b18d70bf0498620"; path = fetchZigArtifact { name = "iterm2_themes"; url = "https://github.com/mbadolato/iTerm2-Color-Schemes/archive/d6c42066b3045292e0b1154ad84ff22d6863ebf7.tar.gz"; hash = "sha256-s6us3PkOPmQCtLS9QNPM7BDLt7x+37KbmYF9d4NMD/c="; url = "https://github.com/mbadolato/iTerm2-Color-Schemes/archive/e030599a6a6e19fcd1ea047c7714021170129d56.tar.gz"; hash = "sha256-hFGjD0rNfZ7Qd7uJZgVn+FmIVXunbjLT+E1BoXhXoJE="; }; } { Loading
pkgs/by-name/gh/ghostty/package.nix +6 −12 Original line number Diff line number Diff line Loading @@ -44,8 +44,7 @@ in stdenv.mkDerivation (finalAttrs: { pname = "ghostty"; version = "1.0.0"; version = "1.0.1"; outputs = [ "out" "man" Loading @@ -58,15 +57,9 @@ stdenv.mkDerivation (finalAttrs: { owner = "ghostty-org"; repo = "ghostty"; tag = "v${finalAttrs.version}"; hash = "sha256-AHI1Z4mfgXkNwQA8xYq4tS0/BARbHL7gQUT41vCxQTM="; hash = "sha256-BiXFNeoL+BYpiqzCuDIrZGQ6JVI8cBOXerJH48CbnxU="; }; # Avoid using runtime hacks to help find X11 postPatch = lib.optionalString (appRuntime == "gtk") '' substituteInPlace src/apprt/gtk/x11.zig \ --replace-warn 'std.DynLib.open("libX11.so");' 'std.DynLib.open("${lib.getLib libX11}/lib/libX11.so");' ''; deps = callPackage ./deps.nix { name = "${finalAttrs.pname}-cache-${finalAttrs.version}"; }; Loading Loading @@ -118,8 +111,7 @@ stdenv.mkDerivation (finalAttrs: { zigCheckFlags = finalAttrs.zigBuildFlags; # Unit tests currently fail inside the sandbox doCheck = false; doCheck = true; /** Ghostty really likes all of it's resources to be in the same directory, so link them back after we split them Loading Loading @@ -186,7 +178,9 @@ stdenv.mkDerivation (finalAttrs: { ''; homepage = "https://ghostty.org/"; downloadPage = "https://ghostty.org/download"; changelog = "https://ghostty.org/docs/install/release-notes/${ builtins.replaceStrings [ "." ] [ "-" ] finalAttrs.version }"; license = lib.licenses.mit; mainProgram = "ghostty"; maintainers = with lib.maintainers; [ Loading