Merge pull request #610 from leroycep/master

Switch to using mitchellh's zig-overlay
This commit is contained in:
Lee Cannon 2022-08-26 18:16:56 +01:00 committed by GitHub
commit 5c88ca1180
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 7 deletions

View File

@ -99,15 +99,15 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1658105291, "lastModified": 1661317012,
"narHash": "sha256-3EXG2r5/h/iyzytRqI+tWTP11f1PdaJJ8Hl5QRe95OE=", "narHash": "sha256-3Lm//qoKwWj9p/gdCaLSASB9kvBw1vfC9BBYUvhVbWU=",
"owner": "arqv", "owner": "mitchellh",
"repo": "zig-overlay", "repo": "zig-overlay",
"rev": "bfd640ef3c9bf8b4cd300af9f79a7ba950823ef5", "rev": "252c13ba498106f37054ad2c4db8e261f569a81e",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "arqv", "owner": "mitchellh",
"repo": "zig-overlay", "repo": "zig-overlay",
"type": "github" "type": "github"
} }

View File

@ -2,7 +2,7 @@
inputs = { inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
zig-overlay.url = "github:arqv/zig-overlay"; zig-overlay.url = "github:mitchellh/zig-overlay";
zig-overlay.inputs.nixpkgs.follows = "nixpkgs"; zig-overlay.inputs.nixpkgs.follows = "nixpkgs";
gitignore.url = "github:hercules-ci/gitignore.nix"; gitignore.url = "github:hercules-ci/gitignore.nix";
@ -21,7 +21,7 @@
in flake-utils.lib.eachSystem systems (system: in flake-utils.lib.eachSystem systems (system:
let let
pkgs = nixpkgs.legacyPackages.${system}; pkgs = nixpkgs.legacyPackages.${system};
zig = zig-overlay.packages.${system}.master.latest; zig = zig-overlay.packages.${system}.master;
in rec { in rec {
packages.default = packages.zls; packages.default = packages.zls;
packages.zls = pkgs.stdenvNoCC.mkDerivation { packages.zls = pkgs.stdenvNoCC.mkDerivation {