Something went wrong. Try again.
Something went wrong. Try again.
nats-study flake.nix
645 B · 28 lines
Nix
at main
1234567891011121314151617181920212223242526272829{ description = "A Nix-flake-based Elixir development environment";
inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
flake-utils.url = "github:numtide/flake-utils"; };
outputs = { self, nixpkgs, flake-utils }: flake-utils.lib.eachDefaultSystem (system: let inherit (pkgs.lib) optional optionals;
pkgs = import nixpkgs { inherit system; }; in { devShells.default = pkgs.mkShell { buildInputs = with pkgs; [ go golangci-lint nats-server natscli ]; }; } );}