130155121a
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.
11 lines
180 B
Nix
11 lines
180 B
Nix
{ universe ? import <universe> {}, ... }:
|
|
|
|
universe.nix.buildClojure.program {
|
|
name = "test";
|
|
deps = with universe.third_party.clojure; [
|
|
|
|
];
|
|
srcs = [
|
|
./main.clj
|
|
]
|
|
}
|