Skip to content
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

libtorrentRasterbar_1_0: use slightly older boost to fix build #33397

Closed
wants to merge 1 commit into from

Conversation

dtzWill
Copy link
Member

@dtzWill dtzWill commented Jan 3, 2018

Motivation for this change
  • Fix libtorrentRasterbar_1_0 after upgrading default boost to 1.66
  • Fix deluge, which requires libtorrentRasterbar_1_0
Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@andir
Copy link
Member

andir commented Jan 3, 2018

Deluge is able to use a newer version of libtorrentRasterbar.
I've just tested that locally with an updated version of libtorrentRasterbar (PR incoming).

This also means we can probably drop support for 1.0.

diff --git a/pkgs/applications/networking/p2p/deluge/default.nix b/pkgs/applications/networking/p2p/deluge/default.nix
index 7f8594b8bbb..c6e5d0f3cb3 100644
--- a/pkgs/applications/networking/p2p/deluge/default.nix
+++ b/pkgs/applications/networking/p2p/deluge/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, intltool, libtorrentRasterbar_1_0, pythonPackages }:
+{ stdenv, fetchurl, intltool, libtorrentRasterbar, pythonPackages }:
 pythonPackages.buildPythonPackage rec {
   name = "deluge-${version}";
   version = "1.3.15";
@@ -9,7 +9,7 @@ pythonPackages.buildPythonPackage rec {
   };

   propagatedBuildInputs = with pythonPackages; [
-    pyGtkGlade libtorrentRasterbar_1_0 twisted Mako chardet pyxdg pyopenssl service-identity
+    pyGtkGlade libtorrentRasterbar twisted Mako chardet pyxdg pyopenssl service-identity
   ];

   nativeBuildInputs = [ intltool ];

@dtzWill
Copy link
Member Author

dtzWill commented Jan 3, 2018

Deluge is able to use a newer version of libtorrentRasterbar.
I've just tested that locally with an updated version of libtorrentRasterbar (PR incoming).

This also means we can probably drop support for 1.0.

Good call, that sounds better to me. Can you issue a PR for that? I'll close this one for now.

@dtzWill dtzWill closed this Jan 3, 2018
@andir
Copy link
Member

andir commented Jan 3, 2018

The PR is #33402

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants