github.com/kachick/nixpkgs-url@v0.3.2-0.20230806085406-bafeb8c13c92/testdata/candidates/flake.nix (about)

     1  {
     2    inputs = {
     3      nixpkgs.url = "github:NixOS/nixpkgs/e57b65abbbf7a2d5786acc86fdf56cde060ed026";
     4      flake-utils.url = "github:numtide/flake-utils";
     5    };
     6  
     7    outputs = { self, nixpkgs, flake-utils }:
     8      flake-utils.lib.eachDefaultSystem (system:
     9        let
    10          pkgs = nixpkgs.legacyPackages.${system};
    11        in
    12        {
    13          devShells.default = with pkgs;
    14            mkShell {
    15              buildInputs = [
    16                go_1_20
    17                go-task
    18                goreleaser
    19              ];
    20            };
    21        });
    22  }