mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-05 06:03:15 -06:00
deadnix + nixfmt
This commit is contained in:
parent
3547ecd3c5
commit
360cb79ea1
3 changed files with 11 additions and 8 deletions
|
@ -32,7 +32,7 @@ in rec {
|
||||||
oizysHosts = mapAttrs (name: _: mkSystem name) (readDir ../hosts);
|
oizysHosts = mapAttrs (name: _: mkSystem name) (readDir ../hosts);
|
||||||
oizysPkg = forAllSystems (
|
oizysPkg = forAllSystems (
|
||||||
pkgs: rec {
|
pkgs: rec {
|
||||||
oizys-zig = pkgs.callPackage ../pkgs/oizys/oizys-zig { zig2nix = inputs.zig2nix;};
|
oizys-zig = pkgs.callPackage ../pkgs/oizys/oizys-zig {zig2nix = inputs.zig2nix;};
|
||||||
oizys-nim = pkgs.callPackage ../pkgs/oizys/oizys-nim {};
|
oizys-nim = pkgs.callPackage ../pkgs/oizys/oizys-nim {};
|
||||||
oizys-rs = pkgs.callPackage ../pkgs/oizys/oizys-rs {};
|
oizys-rs = pkgs.callPackage ../pkgs/oizys/oizys-rs {};
|
||||||
default = oizys-zig;
|
default = oizys-zig;
|
||||||
|
|
|
@ -10,9 +10,11 @@
|
||||||
zig = inputs.zig2nix.outputs.packages.${pkgs.system}.zig.master.bin;
|
zig = inputs.zig2nix.outputs.packages.${pkgs.system}.zig.master.bin;
|
||||||
in {
|
in {
|
||||||
config = mkIfIn "misc" cfg {
|
config = mkIfIn "misc" cfg {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs;
|
||||||
|
[
|
||||||
go
|
go
|
||||||
rustup
|
rustup
|
||||||
] ++ [ zig ];
|
]
|
||||||
|
++ [zig];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,9 +4,10 @@
|
||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
(zig2nix.outputs.zig-env.${pkgs.system} {
|
(zig2nix.outputs.zig-env.${pkgs.system} {
|
||||||
zig = zig2nix.outputs.packages.${pkgs.system}.zig.master.bin;
|
zig = zig2nix.outputs.packages.${pkgs.system}.zig.master.bin;
|
||||||
}).package {
|
})
|
||||||
|
.package {
|
||||||
name = "oizys";
|
name = "oizys";
|
||||||
src = lib.cleanSource ./.;
|
src = lib.cleanSource ./.;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue