https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
14 lines
186 B
Nix
14 lines
186 B
Nix
{ faust
|
|
, xdg-utils
|
|
}:
|
|
|
|
# This just runs faust2svg, then attempts to open a browser using
|
|
# 'xdg-open'.
|
|
|
|
faust.wrap {
|
|
|
|
baseName = "faust2firefox";
|
|
|
|
runtimeInputs = [ xdg-utils ];
|
|
|
|
}
|