forked from supabase-community/auth-ex
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflake.nix
More file actions
31 lines (30 loc) · 759 Bytes
/
Copy pathflake.nix
File metadata and controls
31 lines (30 loc) · 759 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05-small";
elixir-overlay.url = "github:zoedsoupe/elixir-overlay";
};
outputs = {
nixpkgs,
elixir-overlay,
...
}: let
inherit (nixpkgs.lib) genAttrs;
inherit (nixpkgs.lib.systems) flakeExposed;
forAllSystems = f:
genAttrs flakeExposed (system:
f (import nixpkgs {
inherit system;
overlays = [elixir-overlay.overlays.default];
}));
in {
devShells = forAllSystems (pkgs: let
inherit (pkgs) mkShell;
inherit (pkgs.beam.interpreters) erlang_27;
in {
default = mkShell {
name = "auth-ex";
packages = with pkgs; [elixir-bin."1.18.4" erlang_27 postgresql];
};
});
};
}