zig: get from upstream

This commit is contained in:
Motiejus Jakštys 2023-12-18 22:57:09 +02:00
parent 03677b1a22
commit 97a4773d51
3 changed files with 2 additions and 46 deletions

View File

@ -259,8 +259,7 @@
"nixos-hardware": "nixos-hardware", "nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs",
"nur": "nur", "nur": "nur",
"pre-commit-hooks": "pre-commit-hooks", "pre-commit-hooks": "pre-commit-hooks"
"zigpkgs": "zigpkgs"
} }
}, },
"systems": { "systems": {
@ -277,32 +276,6 @@
"repo": "default", "repo": "default",
"type": "github" "type": "github"
} }
},
"zigpkgs": {
"inputs": {
"flake-compat": [
"flake-compat"
],
"flake-utils": [
"flake-utils"
],
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1702850407,
"narHash": "sha256-dG9eKPJXgZNcXkNJwBdx/7byx08Z3ppXU1E54EY1/t0=",
"owner": "mitchellh",
"repo": "zig-overlay",
"rev": "f5d3c30b3f36ec5d3d5dd81fad850f5523767e5d",
"type": "github"
},
"original": {
"owner": "mitchellh",
"repo": "zig-overlay",
"type": "github"
}
} }
}, },
"root": "root", "root": "root",

View File

@ -8,15 +8,6 @@
nixos-hardware.url = "github:NixOS/nixos-hardware/master"; nixos-hardware.url = "github:NixOS/nixos-hardware/master";
nur.url = "github:nix-community/NUR"; nur.url = "github:nix-community/NUR";
zigpkgs = {
url = "github:mitchellh/zig-overlay";
inputs = {
nixpkgs.follows = "nixpkgs";
flake-utils.follows = "flake-utils";
flake-compat.follows = "flake-compat";
};
};
home-manager.url = "github:nix-community/home-manager/release-23.11"; home-manager.url = "github:nix-community/home-manager/release-23.11";
home-manager.inputs.nixpkgs.follows = "nixpkgs"; home-manager.inputs.nixpkgs.follows = "nixpkgs";
@ -80,7 +71,6 @@
nixos-hardware, nixos-hardware,
nix-index-database, nix-index-database,
pre-commit-hooks, pre-commit-hooks,
zigpkgs,
nur, nur,
nixgl, nixgl,
... ...
@ -106,7 +96,6 @@
# nixpkgs-unstable. See git log around the switch from 23.05 to 23.11. # nixpkgs-unstable. See git log around the switch from 23.05 to 23.11.
mkOverlays = _: [ mkOverlays = _: [
nur.overlay nur.overlay
zigpkgs.overlays.default
]; ];
in in
{ {
@ -306,12 +295,6 @@
overlays = [ overlays = [
nur.overlay nur.overlay
nixgl.overlay nixgl.overlay
(_final: prev: {
zigpkgs = import zigpkgs {
inherit (prev) pkgs;
inherit system;
};
})
]; ];
}; };
in { in {

View File

@ -18,7 +18,7 @@
lib.mkMerge [ lib.mkMerge [
(lib.mkIf fullDesktop [ (lib.mkIf fullDesktop [
go go
zigpkgs."0.11.0" zig
]) ])
(lib.mkIf hmOnly [ (lib.mkIf hmOnly [
pkgs.nixgl.nixGLIntel pkgs.nixgl.nixGLIntel