1
0
Fork 0
mirror of https://github.com/mitchellh/zig-overlay.git synced 2025-07-07 14:17:49 +03:00
This commit is contained in:
Mikołaj Lercher 2023-12-14 16:08:46 +00:00 committed by GitHub
commit 2cb2b1816c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 18 additions and 7 deletions

1
.gitignore vendored
View file

@ -2,3 +2,4 @@ index.json
index.json.minisig
sources.old.json
sources.new.json
.direnv/

View file

@ -11,7 +11,7 @@
version,
sha256,
}:
pkgs.stdenv.mkDerivation {
pkgs.stdenv.mkDerivation (finalAttrs: {
inherit version;
pname = "zig";
@ -26,7 +26,17 @@
cp -r lib/* $out/lib
cp zig $out/bin/zig
'';
passthru.hook = pkgs.zig.hook.override {zig = finalAttrs.finalPackage;};
meta = with pkgs.lib; {
description = "General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software";
homepage = "https://ziglang.org/";
license = lib.licenses.mit;
maintainers = [];
platforms = lib.platforms.unix;
};
});
# The packages that are tagged releases
taggedPackages =

8
flake.lock generated
View file

@ -33,16 +33,16 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1689088367,
"narHash": "sha256-Y2tl2TlKCWEHrOeM9ivjCLlRAKH3qoPUE/emhZECU14=",
"lastModified": 1702565688,
"narHash": "sha256-Rlbeq5iV1y1r69tYmEMz9aiIjFcbqLulkwr5OvG4pT8=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "5c9ddb86679c400d6b7360797b8a22167c2053f8",
"rev": "1190e17452013669665b163a017cd7f62a290daa",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "release-23.05",
"ref": "release-23.11",
"repo": "nixpkgs",
"type": "github"
}

View file

@ -2,7 +2,7 @@
description = "Zig compiler binaries.";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/release-23.05";
nixpkgs.url = "github:NixOS/nixpkgs/release-23.11";
flake-utils.url = "github:numtide/flake-utils";
# Used for shell.nix