-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
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
aliza: init at 1.9.7 #285657
base: master
Are you sure you want to change the base?
aliza: init at 1.9.7 #285657
Conversation
I think it still fits into |
We used to have aliza, but it was removed because it needed gtk4, was not build form source, and broke. We now build aliza from source and with gtk5. Co-authored-by: h7x4 <[email protected]>
@h7x4 thanks for the hint, but the validation does not like it if the second arg is empty. Also this does work. Not sure if the validation is correct or not, or how to proceed here. |
That seems like an oversight in the @infinisil have you seen this before? |
Maybe it would make more sense to import |
The error could be improved, but it means that only packages for
The extended definition of that is nextpnrWithGui = libsForQt5.callPackage ../by-name/ne/nextpnr/package.nix { ... } Only attributes defined via |
How would that look like then? |
Well, so I took it out of by-name, should be good now? |
|
||
buildInputs = [ | ||
itk | ||
cmake |
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.
Usually it goes on nativeBuildInputs.
"-DCMAKE_BUILD_TYPE:STRING=Release" | ||
"-DALIZA_QT_VERSION:STRING=5" | ||
"-DITK_DIR:STRING=${itk}" | ||
"-DMDCM_USE_SYSTEM_ZLIB:BOOL=ON" |
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.
"-DCMAKE_BUILD_TYPE:STRING=Release" | |
"-DALIZA_QT_VERSION:STRING=5" | |
"-DITK_DIR:STRING=${itk}" | |
"-DMDCM_USE_SYSTEM_ZLIB:BOOL=ON" | |
(lib.cmakeFeature "CMAKE_BUILD_TYPE" "Release") | |
(lib.cmakeFeature "ALIZA_QT_VERSION" "5") | |
(lib.cmakeOptionType "filepath" "ITK_DIR" itk) | |
(lib.cmakeBool "MDCM_USE_SYSTEM_ZLIB" 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.
are you sure (lib.cmakeBool "-MDCM_USE_SYSTEM_ZLIB" true)
is correct?
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.
... why not?
To be honest, I do not like that extra scoping. Also it contaminates some decisions. I remember when cmake was wrapped under libsForQt5.callPackage... |
Co-authored-by: Anderson Torres <[email protected]>
Co-authored-by: Anderson Torres <[email protected]>
Description of changes
We used to have aliza, but it was removed because it needed gtk4, was not build form source, and broke. We now build aliza from source and with gtk5.
We don't use by-name, because we need libsForQt5.callPackage.
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.