shows-api/flake.nix

22 lines
523 B
Nix

{
inputs = {
utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, utils }: utils.lib.eachDefaultSystem (system:
let
pkgs = nixpkgs.legacyPackages.${system};
in
{
devShell = pkgs.mkShell {
buildInputs = with pkgs; [
nodejs
];
};
packages = rec {
default = shows-api;
shows-api = pkgs.callPackage ./package.nix { };
shows-api-dev = pkgs.callPackage ./package.nix { production = false; };
};
}
);
}