update to latest Zig and add SIGUSR1 refresh

This commit is contained in:
Jeeves 2024-04-07 11:10:02 -06:00
parent 9e8b663694
commit 448c736a32
14 changed files with 69 additions and 60 deletions

View file

@ -1,5 +1,5 @@
{
description = "Statusbar written in Zig";
description = "Zig project flake";
inputs = {
zig2nix.url = "github:Cloudef/zig2nix";
@ -11,7 +11,7 @@
# Zig flake helper
# Check the flake.nix in zig2nix project for more options:
# <https://github.com/Cloudef/zig2nix/blob/master/flake.nix>
env = zig2nix.outputs.zig-env.${system} {};
env = zig2nix.outputs.zig-env.${system} { zig = zig2nix.outputs.packages.${system}.zig.master.bin; };
system-triple = env.lib.zigTripleFromString system;
in with builtins; with env.lib; with env.pkgs.lib; rec {
# nix build .#target.{zig-target}