mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-11-11 02:42:44 +03:00
3b5b9096e1
- yarn-lock: add nodejs version argument - add impure tests - add ci.nix for hercules
28 lines
373 B
Nix
28 lines
373 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
|
|
''
|