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
ktorrent: 5.1.0 -> 5.1.2 #68086
ktorrent: 5.1.0 -> 5.1.2 #68086
Conversation
@@ -4,14 +4,14 @@ | |||
}: | |||
|
|||
let | |||
mainVersion = "5.1"; | |||
mainVersion = "5.1.2"; |
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.
if mainVersion
really is just version
, we should drop the mainVersion bit.
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 think mainVersion
specifies ktorrent version while version
specifies libktorrent version
In some cases mainVersion
has format x.y while full ktorrent version has patch version, in other cases mainVersion
has patch version as well and matches with ktorrent version.
I'm not sure what should be done here. You could see different directory structure here used by ktorrent here https://download.kde.org/stable/ktorrent/
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.
That's messy. I agree, let's keep it.
|
||
in stdenv.mkDerivation rec { | ||
name = "libktorrent-2.1"; | ||
name = "libktorrent-2.1.1"; |
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.
Split this into pname and 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.
Done
Update ktorrent from 5.1.0 to 5.1.2 and libktorrent from 2.1 to 2.1.1, remove already included patches
Motivation for this change
Update ktorrent from 5.1.0 to 5.1.2 and libktorrent from 2.1 to 2.1.1 and remove already included patches to fix failing build.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)