-
-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
c3c: add version check #304409
base: master
Are you sure you want to change the base?
c3c: add version check #304409
Conversation
@ofborg build c3c |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tracking issue: #312345
causes a warning when we try to use lib.getExe in later commits
70351a5
to
c536552
Compare
Latest push fixes the merge conflicts, as well as migrating the package to the |
passthru.tests = { | ||
version = testers.testVersion { | ||
package = finalAttrs.finalPackage; | ||
command = "${lib.getExe finalAttrs.finalPackage} --version"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
command
can be omitted here
command ? "${package.meta.mainProgram or package.pname or package.name} --version", |
Description of changes
Adds a simple
testers.testVersion
test to ensure this package's binaries function, hopefully enabling for quicker updates and better quality assurance for this package.Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 馃憤 reaction to pull requests you find important.