tvl-depot/clojure/buildClojure.nix
William Carroll 130155121a 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.
2020-01-25 19:41:19 +00:00

11 lines
180 B
Nix

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