mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-12-22 14:01:41 +03:00
24 lines
307 B
Nix
24 lines
307 B
Nix
|
{
|
||
|
lib,
|
||
|
|
||
|
# dream2nix
|
||
|
apps,
|
||
|
utils,
|
||
|
...
|
||
|
}:
|
||
|
let
|
||
|
|
||
|
l = lib // builtins;
|
||
|
|
||
|
cli = apps.cli.program;
|
||
|
|
||
|
in
|
||
|
utils.writePureShellScript
|
||
|
[]
|
||
|
''
|
||
|
${cli} add github:tweag/gomod2nix/67f22dd738d092c6ba88e420350ada0ed4992ae8 \
|
||
|
--no-default-nix \
|
||
|
--translator gomod2nix \
|
||
|
--attribute-name gomod2nix
|
||
|
''
|