mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 00:24:18 +00:00
3f94f217d1
svn path=/nixpkgs/trunk/; revision=29149
12 lines
215 B
Nix
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
|
|
'';
|
|
}
|