diff options
| author | Mitchell Hashimoto <m@mitchellh.com> | 2025-03-12 15:55:12 -0700 |
|---|---|---|
| committer | Mitchell Hashimoto <m@mitchellh.com> | 2025-03-12 15:56:24 -0700 |
| commit | b123b14686bdaebc69889fa602162fef8c94676d (patch) | |
| tree | bcc8568cf1530e4aa4e854a73e635ebcbe1059d1 /flake.nix | |
| parent | 99bde549af7a6ea9fbfe47ca16f6ec50bd10ab80 (diff) | |
update zig2nix
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -26,9 +26,9 @@ }; zig2nix = { - url = "github:jcollie/zig2nix?ref=672971b5b6911de21446ad4fc76dee677922eda0"; + url = "github:jcollie/zig2nix?ref=c2a24405298373123e12ca81805e436da648aaf5"; inputs = { - nixpkgs.follows = "nixpkgs-stable"; + nixpkgs.follows = "nixpkgs-unstable"; flake-utils.follows = "flake-utils"; }; }; @@ -61,10 +61,10 @@ revision = self.shortRev or self.dirtyShortRev or "dirty"; }; in rec { - deps = pkgs-stable.callPackage ./build.zig.zon.nix {}; - ghostty-debug = pkgs-stable.callPackage ./nix/package.nix (mkArgs "Debug"); - ghostty-releasesafe = pkgs-stable.callPackage ./nix/package.nix (mkArgs "ReleaseSafe"); - ghostty-releasefast = pkgs-stable.callPackage ./nix/package.nix (mkArgs "ReleaseFast"); + deps = pkgs-unstable.callPackage ./build.zig.zon.nix {}; + ghostty-debug = pkgs-unstable.callPackage ./nix/package.nix (mkArgs "Debug"); + ghostty-releasesafe = pkgs-unstable.callPackage ./nix/package.nix (mkArgs "ReleaseSafe"); + ghostty-releasefast = pkgs-unstable.callPackage ./nix/package.nix (mkArgs "ReleaseFast"); ghostty = ghostty-releasefast; default = ghostty; @@ -77,14 +77,14 @@ module: let vm = import ./nix/vm/create.nix { inherit system module; - nixpkgs = nixpkgs-stable; + nixpkgs = nixpkgs-unstable; overlay = self.overlays.debug; }; - program = pkgs-stable.writeShellScript "run-ghostty-vm" '' + program = pkgs-unstable.writeShellScript "run-ghostty-vm" '' SHARED_DIR=$(pwd) export SHARED_DIR - ${pkgs-stable.lib.getExe vm.config.system.build.vm} "$@" + ${pkgs-unstable.lib.getExe vm.config.system.build.vm} "$@" ''; in { type = "app"; |
