diff options
author | William Carroll <wpcarro@gmail.com> | 2020-01-25T19·41+0000 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2020-01-25T19·41+0000 |
commit | 130155121a2e67228f96aa557e0ac03c781146f9 (patch) | |
tree | ed27d43c6736a109938da5d6b941aea9b621e1a6 | |
parent | 5a2a1694e3790e97da5933ac66ff68fb3170c8f0 (diff) |
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.
-rw-r--r-- | clojure/buildClojure.nix | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/clojure/buildClojure.nix b/clojure/buildClojure.nix new file mode 100644 index 000000000000..1596279de1c5 --- /dev/null +++ b/clojure/buildClojure.nix @@ -0,0 +1,11 @@ +{ universe ? import <universe> {}, ... }: + +universe.nix.buildClojure.program { + name = "test"; + deps = with universe.third_party.clojure; [ + + ]; + srcs = [ + ./main.clj + ] +} |