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>
6 lines
165 B
Nix
6 lines
165 B
Nix
{ runCommand, sfxr-qt }:
|
|
|
|
runCommand "sfxr-qt-test-export-square-wave" ''
|
|
mkdir $out
|
|
${sfxr-qt}/bin/sfxr-qt --export --output $out/output.wav ${./input.sfxj}
|
|
''
|