mirror of
https://github.com/daylinmorgan/oizys.git
synced 2025-01-21 22:57:32 -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, ... }:
|
||||
let
|
||||
inherit (nixpkgs.lib) genAttrs;
|
||||
systems = [
|
||||
"x86_64-linux"
|
||||
"x86_64-darwin"
|
||||
"aarch64-linux"
|
||||
"aarch64-darwin"
|
||||
];
|
||||
forAllSystems = f: genAttrs systems (system: f (import nixpkgs { inherit system; }));
|
||||
systems = [ "x86_64-linux" ]; # "x86_64-darwin" "aarch64-linux" "aarch64-darwin"];
|
||||
forSystem = f: system: f (import nixpkgs { inherit system; });
|
||||
forAllSystems = f: genAttrs systems (forSystem f);
|
||||
in
|
||||
{
|
||||
devShells = forAllSystems (pkgs: {
|
||||
|
|
Loading…
Reference in a new issue