Sketch idea of a buildClojure nix function
The previous commit that adds Java code is part of a larger project intended to use Nix to package Clojure. I'd like to build something similar to @tazjin's buildLisp except for Clojure instead of for Common Lisp. Once building for both ecosystems is similarly easy, it will be easier for me to compare the two languages. Right now `buildLisp` is so good that it attracts me to Common Lisp even when I don't know the language.
This commit is contained in:
parent
5a2a1694e3
commit
130155121a
1 changed files with 11 additions and 0 deletions
11
clojure/buildClojure.nix
Normal file
11
clojure/buildClojure.nix
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
{ universe ? import <universe> {}, ... }:
|
||||||
|
|
||||||
|
universe.nix.buildClojure.program {
|
||||||
|
name = "test";
|
||||||
|
deps = with universe.third_party.clojure; [
|
||||||
|
|
||||||
|
];
|
||||||
|
srcs = [
|
||||||
|
./main.clj
|
||||||
|
]
|
||||||
|
}
|
Loading…
Reference in a new issue