specify shell environment
This commit is contained in:
parent
0d9a580acb
commit
446c761108
@ -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 ];
|
||||||
|
});
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user