{description="go mod init";inputs.nixpkgs.url="github:nixos/nixpkgs/nixpkgs-unstable";outputs={self,nixpkgs,}:letsystem="x86_64-linux";pkgs=nixpkgs.legacyPackages.${system};in{packages.${system}.default=pkgs.buildGoModulerec{pname="gomodinit";version=self.revor"dev";src=./.;vendorHash=nixpkgs.lib.fileContents./go.mod.sri;ldflags=["-s""-w""-X=main.Version=${version}"];meta=withpkgs.lib;{description="go mod init";homepage="https://git.jolheiser.com/gomodinit";maintainers=withmaintainers;[jolheiser];mainProgram="gomodinit";};};devShells.${system}.default=pkgs.mkShell{nativeBuildInputs=withpkgs;[gogopls];};};}