mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-05 01:53: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);
|
||||
oizysPkg = forAllSystems (
|
||||
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-rs = pkgs.callPackage ../pkgs/oizys/oizys-rs {};
|
||||
default = oizys-zig;
|
||||
|
|
|
@ -10,9 +10,11 @@
|
|||
zig = inputs.zig2nix.outputs.packages.${pkgs.system}.zig.master.bin;
|
||||
in {
|
||||
config = mkIfIn "misc" cfg {
|
||||
environment.systemPackages = with pkgs; [
|
||||
environment.systemPackages = with pkgs;
|
||||
[
|
||||
go
|
||||
rustup
|
||||
] ++ [ zig ];
|
||||
]
|
||||
++ [zig];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -4,9 +4,10 @@
|
|||
lib,
|
||||
...
|
||||
}:
|
||||
(zig2nix.outputs.zig-env.${pkgs.system} {
|
||||
(zig2nix.outputs.zig-env.${pkgs.system} {
|
||||
zig = zig2nix.outputs.packages.${pkgs.system}.zig.master.bin;
|
||||
}).package {
|
||||
})
|
||||
.package {
|
||||
name = "oizys";
|
||||
src = lib.cleanSource ./.;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue