Initial Commit

This commit is contained in:
bluepython508
2023-11-01 17:27:15 +00:00
commit 45e4e9f5da
929 changed files with 5425 additions and 0 deletions

19
flake.nix Normal file
View File

@@ -0,0 +1,19 @@
{
description = "A simple OIDC SSO service";
outputs = { self, nixpkgs, systems }: let
inherit (nixpkgs) lib;
eachSystem = f: lib.genAttrs (import systems) (system: f {
inherit system;
pkgs = nixpkgs.legacyPackages.${system};
ownPkgs = self.packages.${system};
});
in {
devShells = eachSystem ({ pkgs, ... }: {
default = pkgs.beam.beamLib.callPackage ./shell.nix {};
});
packages = eachSystem ({ pkgs, ... }: {
default = pkgs.beam.packages.erlang.callPackage ./default.nix { inherit self; inherit (pkgs) elixir; };
});
};
}