nixpkgs/pkgs/development/interpreters/clojure/clooj-wrapper.nix

12 lines
215 B
Nix
Raw Normal View History

{writeTextFile, jre, clooj}:
writeTextFile {
name = "clooj-wrapper";
executable = true;
destination = "/bin/clooj";
text = ''
#!/bin/sh
exec ${jre}/bin/java -jar ${clooj}/lib/java/clooj.jar
'';
}