From 5c0e1cb3acc83ff5cbc121d3d5b52ba57455d6f8 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Thu, 4 Apr 2024 12:13:49 -0500 Subject: [PATCH] use flake for system zig download --- modules/languages/misc.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/languages/misc.nix b/modules/languages/misc.nix index 1c72c73..c2812e8 100644 --- a/modules/languages/misc.nix +++ b/modules/languages/misc.nix @@ -1,4 +1,5 @@ { + inputs, config, lib, pkgs, @@ -6,12 +7,12 @@ }: let inherit (lib) mkIfIn; cfg = config.oizys.languages; + zig = inputs.zig2nix.outputs.packages.${pkgs.system}.zig.master.bin; in { config = mkIfIn "misc" cfg { environment.systemPackages = with pkgs; [ - zig go rustup - ]; + ] ++ [ zig ]; }; }