nixpkgs/pkgs/development/interpreters/clojure/clooj-wrapper.nix
Marco Maggesi 3f94f217d1 Add clooj, IDE for clojure
svn path=/nixpkgs/trunk/; revision=29149
2011-09-09 21:15:20 +00:00

12 lines
215 B
Nix

{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
'';
}