nixpkgs/pkgs/development/compilers/zig/hook.nix
Anderson Torres 9d9af3d49f zigHook: remove badPlatforms
Because zig itself doesn't set it by default.
2023-08-01 10:08:55 +00:00

18 lines
297 B
Nix

{ lib
, makeSetupHook
, zig
}:
makeSetupHook {
name = "zig-hook";
propagatedBuildInputs = [ zig ];
passthru = { inherit zig; };
meta = {
description = "A setup hook for using the Zig compiler in Nixpkgs";
inherit (zig.meta) maintainers platforms broken;
};
} ./setup-hook.sh