shows-api/flake.nix
2025-01-31 13:11:00 +01:00

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