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:
William Carroll 2020-01-25 19:41:19 +00:00
parent 5a2a1694e3
commit 130155121a

11
clojure/buildClojure.nix Normal file
View file

@ -0,0 +1,11 @@
{ universe ? import <universe> {}, ... }:
universe.nix.buildClojure.program {
name = "test";
deps = with universe.third_party.clojure; [
];
srcs = [
./main.clj
]
}