mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 07:05:13 +00:00
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
|
||
|
'';
|
||
|
}
|