specify shell environment

This commit is contained in:
surtur 2022-04-20 23:07:23 +02:00
parent 0d9a580acb
commit 446c761108
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -62,5 +62,11 @@
program = "${self.packages.${system}.go-hello}/bin/go-hello"; program = "${self.packages.${system}.go-hello}/bin/go-hello";
}); });
devShell = forAllSystems (system:
let pkgs = nixpkgsFor.${system};
in pkgs.mkShell {
buildInputs = with pkgs; [ go gopls goimports go-tools ];
});
}; };
} }