use --json instead of --xml
This commit is contained in:
parent
dd8e87160a
commit
cd168d399e
1 changed files with 4 additions and 3 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue