Add boot to clojure env
This commit is contained in:
parent
d838543a68
commit
aebebdade1
|
@ -49,6 +49,7 @@ Once your preferred template has been initialized, you can use the provided shel
|
||||||
| [Ruby] | [`ruby`](./ruby/) |
|
| [Ruby] | [`ruby`](./ruby/) |
|
||||||
| [Rust] | [`rust`](./rust/) |
|
| [Rust] | [`rust`](./rust/) |
|
||||||
| [Scala] | [`scala`](./scala/) |
|
| [Scala] | [`scala`](./scala/) |
|
||||||
|
| [WebAssembly][wasm] | [`wasm`](./wasm) |
|
||||||
| [Zig] | [`zig`](./zig/) |
|
| [Zig] | [`zig`](./zig/) |
|
||||||
|
|
||||||
## Template contents
|
## Template contents
|
||||||
|
@ -58,6 +59,7 @@ The sections below list what each template includes. In all cases, you're free t
|
||||||
### [`clojure`](./clojure/)
|
### [`clojure`](./clojure/)
|
||||||
|
|
||||||
- [Clojure] 1.11.1.1149
|
- [Clojure] 1.11.1.1149
|
||||||
|
- [Boot] 2.8.3
|
||||||
- [Leiningen] 2.9.8
|
- [Leiningen] 2.9.8
|
||||||
|
|
||||||
### [`cue`](./cue/)
|
### [`cue`](./cue/)
|
||||||
|
@ -210,6 +212,7 @@ The sections below list what each template includes. In all cases, you're free t
|
||||||
All of the templates have only the root [flake](./flake.nix) as a flake input. That root flake provides a common revision of [Nixpkgs] and [`flake-utils`][flake-utils] to all the templates.
|
All of the templates have only the root [flake](./flake.nix) as a flake input. That root flake provides a common revision of [Nixpkgs] and [`flake-utils`][flake-utils] to all the templates.
|
||||||
|
|
||||||
[ant]: https://ant.apache.org
|
[ant]: https://ant.apache.org
|
||||||
|
[boot]: https://www.boot-clj.com
|
||||||
[buf]: https://github.com/bufbuild/buf
|
[buf]: https://github.com/bufbuild/buf
|
||||||
[cabal]: https://www.haskell.org/cabal
|
[cabal]: https://www.haskell.org/cabal
|
||||||
[cachix]: https://www.cachix.org
|
[cachix]: https://www.cachix.org
|
||||||
|
@ -278,5 +281,6 @@ All of the templates have only the root [flake](./flake.nix) as a flake input. T
|
||||||
[terragrunt]: https://terragrunt.gruntwork.io
|
[terragrunt]: https://terragrunt.gruntwork.io
|
||||||
[virtualenv]: https://pypi.org/project/virtualenv
|
[virtualenv]: https://pypi.org/project/virtualenv
|
||||||
[vulnix]: https://github.com/flyingcircusio/vulnix
|
[vulnix]: https://github.com/flyingcircusio/vulnix
|
||||||
|
[wasm]: https://webassembly.org/
|
||||||
[yarn]: https://yarnpkg.com
|
[yarn]: https://yarnpkg.com
|
||||||
[zig]: https://ziglang.org
|
[zig]: https://ziglang.org
|
||||||
|
|
|
@ -11,19 +11,21 @@
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
packageOverrides = p: {
|
packageOverrides = p: {
|
||||||
|
boot = p.boot.override { jdk = p.${jdk}; };
|
||||||
clojure = p.clojure.override { jdk = p.${jdk}; };
|
clojure = p.clojure.override { jdk = p.${jdk}; };
|
||||||
leiningen = p.leiningen.override { jdk = p.${jdk}; };
|
leiningen = p.leiningen.override { jdk = p.${jdk}; };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
pkgs = import nixpkgs { inherit config system; };
|
pkgs = import nixpkgs { inherit config system; };
|
||||||
inherit (pkgs) clojure leiningen mkShell;
|
inherit (pkgs) boot clojure leiningen mkShell;
|
||||||
in {
|
in {
|
||||||
devShells = {
|
devShells = {
|
||||||
default = mkShell {
|
default = mkShell {
|
||||||
buildInputs = [ clojure leiningen ];
|
buildInputs = [ boot clojure leiningen ];
|
||||||
|
|
||||||
shellHook = ''
|
shellHook = ''
|
||||||
|
${clojure}/bin/clj --version
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue