1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-12-14 11:57:34 +00:00

fish: simplify babelfishTranslate

This commit is contained in:
Emily 2023-08-05 22:57:44 +01:00
parent e65825ca9e
commit e2187d633c

View file

@ -37,9 +37,9 @@ let
'';
babelfishTranslate = path: name:
pkgs.runCommand "${name}.fish" {
nativeBuildInputs = [ cfg.babelfishPackage ];
} "${cfg.babelfishPackage}/bin/babelfish < ${path} > $out;";
pkgs.runCommand "${name}.fish" {} ''
${cfg.babelfishPackage}/bin/babelfish < ${path} > $out
'';
in