Skip to content

Commit 9e631e9

Browse files
committed
change zig source
Signed-off-by: Pui Yong Qing <[email protected]>
1 parent 7045910 commit 9e631e9

File tree

5 files changed

+35
-157
lines changed

5 files changed

+35
-157
lines changed

flake.lock

Lines changed: 30 additions & 151 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
zls = {
66
url = "github:zigtools/zls";
77
inputs.nixpkgs.follows = "nixpkgs";
8+
inputs.zig-overlay.follows = "zig";
89
};
910

1011
prismlauncher = {
@@ -19,12 +20,12 @@
1920
};
2021

2122
zon2nix = {
22-
url = "github:jcollie/zon2nix?rev=bf983aa90ff169372b9fa8c02e57ea75e0b42245";
23+
url = "github:jcollie/zon2nix";
2324
inputs.nixpkgs.follows = "nixpkgs";
2425
};
2526

2627
zig = {
27-
url = "github:mitchellh/zig-overlay";
28+
url = "github:silversquirl/zig-flake/4ce776e231ed72daee11a4d33459834517e0f3e4"; # 20250920 compat with zls
2829
inputs.nixpkgs.follows = "nixpkgs";
2930
};
3031

modules/core/packages.nix

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,7 @@
105105
pkg-config # Wrapper Script For Allowing Packages To Get Info On Others
106106
playerctl # Allows Changing Media Volume Through Scripts
107107
ripgrep # Improved Grep
108-
inputs.zls.inputs.zig-overlay.packages.${pkgs.system}.master
109-
#zigpkgs.master
108+
inputs.zig.packages.${system}.nightly
110109
(rust-bin.selectLatestNightlyWith (
111110
toolchain:
112111
toolchain.default.override {

modules/home/nvf.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@
181181
enable = true;
182182
lsp = {
183183
enable = true;
184-
package = inputs.zls.packages.${system}.default;
184+
package = inputs.zls.packages.${system}.zls;
185185
};
186186
};
187187
go = {

overlay/default.nix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@
5555
*/
5656
})
5757
inputs.rust-overlay.overlays.default
58-
inputs.zig.overlays.default
5958
inputs.ghostty.overlays.default
6059
inputs.prismlauncher.overlays.default
6160
];

0 commit comments

Comments
 (0)