summaryrefslogtreecommitdiff
path: root/pkgs/vemf/default.nix
blob: 3578ce19eb4e14d4bbbda4208feffdf2bfd9ce0b (plain)
1
2
3
4
5
6
7
8
9
10
# This isn't the actual definition of the derivation for the Vemf interpreter
# – that is found under vemf-unwrapped. This is just a wrapper script.
{
  writeShellScriptBin,
  vemf-unwrapped,
  rlwrap,
}:
writeShellScriptBin "vemf" ''
  exec -a vemf ${rlwrap}/bin/rlwrap ${vemf-unwrapped}/bin/vemf "$@"
''