Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
base: 90e0428d5d65
Choose a base ref
...
head repository: NixOS/nixpkgs
compare: 29e89248bfe7
Choose a head ref
  • 1 commit
  • 4 files changed
  • 1 contributor

Commits on Aug 1, 2018

  1. beets: Fix building plugins with Python 3

    Since the switch to using python3Packages in commit
    72934aa, the plugins no longer build
    because they end up with a mix of Python 2 and Python 3 packages.
    
    The reason for this is that the Beets package itself uses callPackage to
    reference the plugins, however the overrides are not applied there and
    thus the plugins end up getting pythonPackages from the top-level which
    is Python 2 and beets with Python 3 dependencies.
    
    Unfortunately this is not the only reason for the builds to fail,
    because both plugins did not actually support Python 3.
    
    For the copyartifacts plugin, the fix is rather easy because we only
    need to advance to two more recent commits from upstream, which already
    contain fixes for Python 3.
    
    The alternatives plugin on the other hand is not maintained anymore, but
    there is a fork at https://github.com/wisp3rwind/beets-alternatives
    which has a bunch of fixes. In 2e4aded
    I already backported one of these fixes to the version from
    https://github.com/geigerzaehler/beets-alternatives, but for Python 3
    support it's a bit more complicated than just one little fix.
    
    So instead of adding another series of patches which replicate the code
    base of the fork and become a maintenance burden, I opted to directly
    switch to the fork and remove the patch on our side.
    
    Signed-off-by: aszlig <aszlig@nix.build>
    Cc: @domenkozar, @pjones, @Profpatsch
    aszlig committed Aug 1, 2018
    Configuration menu
    Copy the full SHA
    29e8924 View commit details
    Browse the repository at this point in the history