Files
keycloak-lantian/flake.nix

33 lines
825 B
Nix

{
description = "Keycloak-lantian";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
};
outputs = { self, nixpkgs, ... }@inputs:
let
systems = [
"x86_64-linux"
"i686-linux"
"x86_64-darwin"
"aarch64-linux"
"armv6l-linux"
"armv7l-linux"
];
lib = nixpkgs.lib;
forAllSystems = f: lib.genAttrs systems (system: f system);
in
{
packages = forAllSystems (system: import ./default.nix rec {
pkgs = import nixpkgs { inherit system; };
nodejs = pkgs.nodejs;
inherit system;
});
defaultPackage = forAllSystems (system: (import ./default.nix rec {
pkgs = import nixpkgs { inherit system; };
nodejs = pkgs.nodejs;
inherit system;
}).package);
};
}