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:
parent
e65825ca9e
commit
e2187d633c
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue