Loading pkgs/by-name/yq/yq-go/package.nix +9 −5 Original line number Diff line number Diff line Loading @@ -6,6 +6,7 @@ installShellFiles, runCommand, yq-go, nix-update-script, }: buildGoModule (finalAttrs: { Loading @@ -30,12 +31,15 @@ buildGoModule (finalAttrs: { --zsh <($out/bin/yq shell-completion zsh) ''; passthru.tests = { passthru = { tests = { simple = runCommand "${finalAttrs.pname}-test" { } '' echo "test: 1" | ${yq-go}/bin/yq eval -j > $out [ "$(cat $out | tr -d $'\n ')" = '{"test":1}' ] ''; }; updateScript = nix-update-script { }; }; meta = { description = "Portable command-line YAML processor"; Loading Loading
pkgs/by-name/yq/yq-go/package.nix +9 −5 Original line number Diff line number Diff line Loading @@ -6,6 +6,7 @@ installShellFiles, runCommand, yq-go, nix-update-script, }: buildGoModule (finalAttrs: { Loading @@ -30,12 +31,15 @@ buildGoModule (finalAttrs: { --zsh <($out/bin/yq shell-completion zsh) ''; passthru.tests = { passthru = { tests = { simple = runCommand "${finalAttrs.pname}-test" { } '' echo "test: 1" | ${yq-go}/bin/yq eval -j > $out [ "$(cat $out | tr -d $'\n ')" = '{"test":1}' ] ''; }; updateScript = nix-update-script { }; }; meta = { description = "Portable command-line YAML processor"; Loading