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

29
flake.lock generated
View File

@ -259,8 +259,7 @@
"nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs",
"nur": "nur",
"pre-commit-hooks": "pre-commit-hooks",
"zigpkgs": "zigpkgs"
"pre-commit-hooks": "pre-commit-hooks"
}
},
"systems": {
@ -277,32 +276,6 @@
"repo": "default",
"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",

View File

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

View File

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