From cd168d399ee3ca205cd68159b59d88bdb88783e6 Mon Sep 17 00:00:00 2001 From: milahu Date: Sun, 15 May 2022 15:24:26 +0200 Subject: [PATCH] use --json instead of --xml --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c6d5b3b83..77b517773 100644 --- a/README.md +++ b/README.md @@ -352,16 +352,17 @@ You can find out if your evaluation succeeded by checking the [latest build job] In your `nur-packages/` folder, run the [check evaluation](https://github.com/nix-community/nur-packages-template/blob/master/.github/workflows/build.yml) task ```sh -nix-env -f . -qa \* --meta --xml \ +nix-env -f . -qa \* --meta \ --allowed-uris https://static.rust-lang.org \ --option restrict-eval true \ --option allow-import-from-derivation true \ --drv-path --show-trace \ -I nixpkgs=$(nix-instantiate --find-file nixpkgs) \ - -I ./ + -I ./ \ + --json | jq -r 'values | .[].name' ``` -On success, this shows an XML document with a list of your packages +On success, this shows a list of your packages ### Git submodules