piston/runtimes/dash.nix

22 lines
362 B
Nix
Raw Permalink Normal View History

{pkgs, piston, ...}:
let
pkg = pkgs.dash;
in piston.mkRuntime {
language = "dash";
version = pkg.version;
aliases = [];
run = ''
${pkg}/bin/dash "$@"
'';
tests = [
(piston.mkTest {
files = {
"test.dash" = ''
echo "OK"
'';
};
})
];
}