2024-01-05 13:22:56 -06:00
|
|
|
{
|
2024-01-16 16:15:10 -06:00
|
|
|
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
2024-01-05 13:22:56 -06:00
|
|
|
outputs = {
|
|
|
|
self,
|
|
|
|
nixpkgs,
|
|
|
|
}: let
|
|
|
|
inherit (self) outputs;
|
|
|
|
supportedSystems = ["x86_64-linux"];
|
|
|
|
forEachSupportedSystem = nixpkgs.lib.genAttrs supportedSystems;
|
|
|
|
in {
|
|
|
|
devShells = forEachSupportedSystem (system: let
|
|
|
|
pkgs = import nixpkgs {inherit system;};
|
|
|
|
in {
|
|
|
|
deno-dev = pkgs.mkShell {
|
|
|
|
buildInputs = with pkgs; [
|
2024-01-21 14:02:10 -06:00
|
|
|
sqlite
|
2024-01-05 13:22:56 -06:00
|
|
|
deno
|
2024-01-07 10:55:18 -06:00
|
|
|
xh
|
2024-01-05 13:22:56 -06:00
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
default = outputs.devShells.${system}.deno-dev;
|
|
|
|
});
|
|
|
|
};
|
|
|
|
}
|