Files
sso-bsn/flake.nix
bluepython508 a0fc306df1 Macos build
2023-11-07 20:28:46 +00:00

28 lines
637 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.packages.erlang_26.callPackage ./shell.nix {};
});
packages = eachSystem ({pkgs, ...}: {
default = pkgs.beam.packages.erlang_26.callPackage ./default.nix {
inherit self;
};
});
};
}