Files
guz.one/flake.nix

34 lines
717 B
Nix
Raw Normal View History

2024-05-20 18:37:18 -03:00
{
description = "learning.rs";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
templ.url = "github:a-h/templ?ref=tags/v0.2.697";
2024-05-20 18:37:18 -03:00
};
outputs =
{ self
, nixpkgs
, flake-utils
, ...
} @ inputs:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs {
inherit system;
};
templ = inputs.templ.packages.${system}.templ;
in
{
2024-05-23 12:54:15 -03:00
devShells.default = pkgs.mkShell {
buildInputs = with pkgs; [
go
golangci-lint
templ
nodePackages_latest.vercel
2024-05-23 16:30:37 -03:00
nodejs_20
corepack_20
2024-05-23 12:54:15 -03:00
];
};
2024-05-20 18:37:18 -03:00
});
}