oizys/templates/dev/flake.nix

24 lines
580 B
Nix
Raw Permalink Normal View History

2024-11-27 11:22:16 -06:00
{
description = "";
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
outputs =
{ nixpkgs, ... }:
let
inherit (nixpkgs.lib) genAttrs;
2025-01-11 17:56:48 -06:00
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);
2024-11-27 11:22:16 -06:00
in
{
devShells = forAllSystems (pkgs: {
default = pkgs.mkShell {
packages = with pkgs; [
# insert packages here
];
};
});
};
}