mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-12-22 05:51:38 +03:00
29 lines
391 B
Nix
29 lines
391 B
Nix
{
|
|
lib,
|
|
|
|
# dream2nix
|
|
apps,
|
|
utils,
|
|
...
|
|
}:
|
|
let
|
|
|
|
l = lib // builtins;
|
|
|
|
cli = apps.cli.program;
|
|
|
|
in
|
|
utils.writePureShellScript
|
|
[]
|
|
''
|
|
${cli} add github:prettier/prettier/2.4.1 \
|
|
--no-default-nix \
|
|
--translator yarn-lock \
|
|
--attribute-name prettier \
|
|
--arg name="{automatic}" \
|
|
--arg noDev=false \
|
|
--arg nodejs=14 \
|
|
--arg peer=false \
|
|
--aggregate
|
|
''
|