Macos build

This commit is contained in:
bluepython508 committed 2023-11-07 20:28:46 +00:00
1 parent 092930a24f
commit a0fc306df1
3 files changed
+60 -31

No files matched your search

+18 -10
View File
@@ -1,19 +1,27 @@
{
description = "A simple OIDC SSO service";
outputs = { self, nixpkgs, systems }: let
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};
});
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 {};
devShells = eachSystem ({pkgs, ...}: {
default = pkgs.beam.packages.erlang_26.callPackage ./shell.nix {};
});
packages = eachSystem ({ pkgs, ... }: {
default = pkgs.beam.packages.erlang.callPackage ./default.nix { inherit self; inherit (pkgs) elixir; };
packages = eachSystem ({pkgs, ...}: {
default = pkgs.beam.packages.erlang_26.callPackage ./default.nix {
inherit self;
};
});
};
}