mirror of
https://github.com/daylinmorgan/oizys.git
synced 2025-01-22 03:07:31 -06:00
more assigments for more readable code
This commit is contained in:
parent
565082fd13
commit
00c93702ad
1 changed files with 3 additions and 7 deletions
|
@ -7,13 +7,9 @@
|
||||||
{ nixpkgs, ... }:
|
{ nixpkgs, ... }:
|
||||||
let
|
let
|
||||||
inherit (nixpkgs.lib) genAttrs;
|
inherit (nixpkgs.lib) genAttrs;
|
||||||
systems = [
|
systems = [ "x86_64-linux" ]; # "x86_64-darwin" "aarch64-linux" "aarch64-darwin"];
|
||||||
"x86_64-linux"
|
forSystem = f: system: f (import nixpkgs { inherit system; });
|
||||||
"x86_64-darwin"
|
forAllSystems = f: genAttrs systems (forSystem f);
|
||||||
"aarch64-linux"
|
|
||||||
"aarch64-darwin"
|
|
||||||
];
|
|
||||||
forAllSystems = f: genAttrs systems (system: f (import nixpkgs { inherit system; }));
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
devShells = forAllSystems (pkgs: {
|
devShells = forAllSystems (pkgs: {
|
||||||
|
|
Loading…
Reference in a new issue