Files
sso-bsn/flake.nix
bluepython508 45e4e9f5da Initial Commit
2023-11-01 17:27:15 +00:00

20 lines
592 B
Nix

{
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; };
});
};
}