Skip to content

Commit

Permalink
create devshells
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianHicks committed Sep 14, 2021
1 parent d754728 commit b1c7ba3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions flake.nix
Expand Up @@ -62,5 +62,14 @@
./machines/gitea
];
};

devShell = builtins.listToAttrs (map (system:
let pkgs = inputs.nixpkgs-release.legacyPackages.${system};
in {
name = system;
value = pkgs.mkShell {
buildInputs = with pkgs; [ git terraform graphviz nixFlakes ];
};
}) [ "x86_64-linux" "x86_64-darwin" ]);
};
}

0 comments on commit b1c7ba3

Please sign in to comment.