-
-
Notifications
You must be signed in to change notification settings - Fork 13.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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tacentview: init at 1.0.46 #341239
base: master
Are you sure you want to change the base?
tacentview: init at 1.0.46 #341239
Conversation
pkgs/by-name/ta/tacent/package.nix
Outdated
homepage = "https://github.com/bluescan/tacent"; | ||
license = lib.licenses.isc; | ||
maintainers = [ lib.maintainers.PopeRigby ]; | ||
platforms = [ lib.platforms.linux ]; |
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.
Is this lib linux-only?
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.
I believe so. It makes no mention of MacOS support.
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.
The source code has some macos-related macros.
"-DFETCHCONTENT_SOURCE_DIR_TACENT=${tacent.src}" | ||
"-DPACKAGE_NIX=True" |
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.
"-DFETCHCONTENT_SOURCE_DIR_TACENT=${tacent.src}" | |
"-DPACKAGE_NIX=True" | |
(lib.cmakeFeature "FETCHCONTENT_SOURCE_DIR_TACENT" "${tacent.src}") | |
(lib.cmakeBool "PACKAGE_NIX" true) |
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.
Is this necessary? I didn't see any other packages using it.
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.
A simple rg --type=nix cmakeBool
returns more than 400 results in pkgs/by-name
.
Further, lib.cmake*
functions type-checks their arguments.
Description of changes
I've added both Tacent View (an application for viewing various image formats), and the library it depends on, Tacent.
Closes #219830
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.