mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-15 08:16:13 +03:00
Merge pull request #934 from vancluever/vancluever-nix-update-zigcachehash-and-add-note
nix: update zigCacheHash, mention that building pkg requires src
This commit is contained in:
@ -53,6 +53,15 @@
|
|||||||
let pkgs = import nixpkgs { inherit overlays system; };
|
let pkgs = import nixpkgs { inherit overlays system; };
|
||||||
in rec {
|
in rec {
|
||||||
devShell = pkgs.devShell;
|
devShell = pkgs.devShell;
|
||||||
|
|
||||||
|
# NOTE: using packages.ghostty right out of the flake currently
|
||||||
|
# requires a build of LLVM 17 and Zig master from source. This will
|
||||||
|
# take quite a bit of time. Until LLVM 17 and an upcoming Zig 0.12 are
|
||||||
|
# up in nixpkgs, most folks will want to continue to use the devShell
|
||||||
|
# and the instructions found at:
|
||||||
|
#
|
||||||
|
# https://github.com/mitchellh/ghostty/tree/main#developing-ghostty
|
||||||
|
#
|
||||||
packages.ghostty = pkgs.ghostty;
|
packages.ghostty = pkgs.ghostty;
|
||||||
defaultPackage = packages.ghostty;
|
defaultPackage = packages.ghostty;
|
||||||
}
|
}
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
# NOTE: using this derivation right out of the flake currently requires a build
|
||||||
|
# of LLVM 17 and Zig master from source. This will take quite a bit of time.
|
||||||
|
# Until LLVM 17 and an upcoming Zig 0.12 are up in nixpkgs, most folks will
|
||||||
|
# want to continue to use the devShell and the instructions found at:
|
||||||
|
#
|
||||||
|
# https://github.com/mitchellh/ghostty/tree/main#developing-ghostty
|
||||||
|
#
|
||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
|
|
||||||
@ -50,7 +57,7 @@ let
|
|||||||
# (It's also possible that you might see a hash mismatch - without the
|
# (It's also possible that you might see a hash mismatch - without the
|
||||||
# network errors - if you don't have a previous instance of the cache
|
# network errors - if you don't have a previous instance of the cache
|
||||||
# derivation in your store already. If so, just update the value as above.)
|
# derivation in your store already. If so, just update the value as above.)
|
||||||
zigCacheHash = "sha256-nfvrGL7CMb8sr9gFhU5GVkN5H+hIxNzMPr2760rV2BM=";
|
zigCacheHash = "sha256-/6XhZq5NYWbHhg0yQ9iT/6oGewsurIpeGNJyNT+E6CQ=";
|
||||||
|
|
||||||
zigCache = src: stdenv.mkDerivation {
|
zigCache = src: stdenv.mkDerivation {
|
||||||
inherit src;
|
inherit src;
|
||||||
|
Reference in New Issue
Block a user