Skip to content

Commit

Permalink
remove custom zig and zls builds
Browse files Browse the repository at this point in the history
  • Loading branch information
dermetfan committed May 8, 2024
1 parent 8f25396 commit 3293779
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 62 deletions.
8 changes: 4 additions & 4 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 4 additions & 5 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
inputs = {
nixpkgs.url = github:NixOS/nixpkgs/nixos-23.11;
nixpkgs.url = github:NixOS/nixpkgs/nixpkgs-unstable;
nix = {
url = github:NixOS/nix/2.19-maintenance;
inputs.nixpkgs.follows = "nixpkgs";
Expand Down Expand Up @@ -37,10 +37,9 @@
config,
...
}: {
_module.args.pkgs = inputs'.nixpkgs.legacyPackages.appendOverlays [
(_final: _prev: {inherit (config.packages) zig;})
parts.config.flake.overlays.zig
];
_module.args.pkgs =
inputs'.nixpkgs.legacyPackages.extend
parts.config.flake.overlays.zig;
};
});
}
2 changes: 1 addition & 1 deletion nix/devShells.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
default = pkgs.mkShell {
name = "devShell";
packages = with pkgs; [
config.packages.zls
zls
wasm-tools
];
inputsFrom = [
Expand Down
1 change: 0 additions & 1 deletion nix/packages/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
imports = [
./cizero
./zig
];

perSystem = {
Expand Down
51 changes: 0 additions & 51 deletions nix/packages/zig/default.nix

This file was deleted.

0 comments on commit 3293779

Please sign in to comment.