datasette/flake.nix

25 lines
673 B
Nix

{
description = "Automated deployment of my datasette instance.";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem
(system:
let pkgs = nixpkgs.legacyPackages.${system}; in
{
devShell = import ./shell.nix { inherit pkgs; };
}
);
# outputs = { self, nixpkgs, flake-utils, ... }:
# flake-utils.lib.eachDefaultSystem
# (system:
# let pkgs.legacyPackages.${system}; in
# {
# devShell = import ./shell.nix { inherit pkgs; };
# }
# );
}