From 00c93702ad090d0188e16eccc0033b11d688dc25 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Sat, 11 Jan 2025 17:56:48 -0600 Subject: [PATCH] more assigments for more readable code --- templates/dev/flake.nix | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/templates/dev/flake.nix b/templates/dev/flake.nix index f168a9d..1c24188 100644 --- a/templates/dev/flake.nix +++ b/templates/dev/flake.nix @@ -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: {