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
radeon-profile: init at 20161221 #24359
Conversation
Apparently after I rebased to current master it stopped working.
Any idea? |
This package is not built from source, is that correct? To make it work, you must at least use |
sha256 = "0zdmpc0rx6i0y32dcbz02whp95hpbmmbkmcp39f00byvjm5cprgg"; | ||
}) + "/radeon-profile"; | ||
|
||
installPhase = '' |
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.
To override a phase like this, the first line must be runHook preInstall
and the last line must be runHook postInstall
.
No, it's actually built from source but the binary must be manually installed once built.
Thanks: I moved the commands into postInstall |
c9d0619
to
b81476d
Compare
Merge? |
Just tested this and it seems to work on my desktop machine. Please merge, I'd love to see this in nixpkgs! |
@@ -0,0 +1,30 @@ | |||
{ stdenv, fetchFromGitHub, qt5, xorg }: |
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.
From the nixpkgs manual (http://nixos.org/nixpkgs/manual/#ssec-qt-applications):
Dependencies should be imported unqualified, i.e. qtbase not qt5.qtbase. Do not import a package set such as qt5 or libsForQt5 into your package; although it may work fine in the moment, it could well break at the next Qt update.
@ttuegel is |
There are several packages built from source using |
Yes, absolutely. Especially if the package is built from source. It will sometimes work without it, e.g. if you are running from KDE. |
Ok, added |
Thanks, looks good now! |
Thank you |
Motivation for this change
nixpkgs is missing a tool for controlling the GPU settings.
Things done