mirror of
https://github.com/bitmagnet-io/bitmagnet.git
synced 2025-12-28 06:34:17 +00:00
32 lines
701 B
Nix
32 lines
701 B
Nix
{
|
|
description = "A basic flake with a shell";
|
|
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05";
|
|
inputs.flake-utils.url = "github:numtide/flake-utils";
|
|
|
|
outputs = {
|
|
nixpkgs,
|
|
flake-utils,
|
|
...
|
|
}:
|
|
flake-utils.lib.eachDefaultSystem (system: let
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
|
in {
|
|
formatter = pkgs.alejandra;
|
|
devShells = {
|
|
default = pkgs.mkShell {
|
|
packages = with pkgs; [
|
|
bundler
|
|
go_1_22
|
|
go-task
|
|
golangci-lint
|
|
jekyll
|
|
nodejs_22
|
|
nodePackages.prettier
|
|
protobuf
|
|
protoc-gen-go
|
|
];
|
|
};
|
|
};
|
|
});
|
|
}
|