Open IogaMaster opened 4 months ago
@AndersonTorres what nix command should I use to run these tests?
nix build --rebuild <nixpkgs-path>#<package-name>.passthru.tests
In that particular case I use something like
nix build --rebuild <nixpkgs-path>#live555.tests.vlc
or
nix build --rebuild <nixpkgs-path>#live555.passthru.tests.vlc
Without the .vlc
part, Nix complains with
error: flake output attribute 'legacyPackages.x86_64-linux.live555.passthru.tests' is not a derivation or path
It seems running
nix run .#<pkg>.passthru.tests
works
But not for live555
Update:
We will use nix search:
Then get after the passthru.tests strings to get attrs
nix search .#<pkg>.passthru.tests | sed 's/^.*passthru.//' | cut -f 1 -d " "
https://github.com/NixOS/nixpkgs/pull/291395?notification_referrer_id=NT_kwDOBADZMbM5NjA1MzIxNjcyOjY3MTY0NDY1#issuecomment-1963064781