mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-05 06:03:15 -06:00
use flake for system zig download
This commit is contained in:
parent
2c278b0501
commit
5c0e1cb3ac
1 changed files with 3 additions and 2 deletions
|
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue