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

pulseaudio-modules-bt: init at unstable-2018-09-11 #46505

Merged
merged 1 commit into from
Sep 11, 2018

Conversation

adisbladis
Copy link
Member

@adisbladis adisbladis commented Sep 11, 2018

Motivation for this change

I want to use LDAC

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option 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/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Fits CONTRIBUTING.md.

I'm using this way on NixOS:

  hardware.pulseaudio = {
    enable = true;
    # Replace built in pulseaudio modules with enhanced bluetooth ones
    package = with pkgs; pulseaudioFull.overrideAttrs(oldAttrs: {
      postInstall = oldAttrs.postInstall + ''

        cp -a ${pulseaudio-modules-bt}/* $out/
      '';
    });
  };

@GrahamcOfBorg GrahamcOfBorg added 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild 10.rebuild-linux: 1-10 labels Sep 11, 2018
@GrahamcOfBorg
Copy link

No attempt on x86_64-darwin (full log)

The following builds were skipped because they don't evaluate on x86_64-darwin: pulseaudio-modules-bt

Partial log (click to expand)


a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.


@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: pulseaudio-modules-bt

Partial log (click to expand)

shrinking /nix/store/fdkqh733nrr8f1pg5dbppw4khhihlvm0-pulseaudio-modules-bt-unstable-2018-09-11/lib/pulse-12.2/modules/module-bluez5-device.so
shrinking /nix/store/fdkqh733nrr8f1pg5dbppw4khhihlvm0-pulseaudio-modules-bt-unstable-2018-09-11/lib/pulse-12.2/modules/module-bluetooth-discover.so
shrinking /nix/store/fdkqh733nrr8f1pg5dbppw4khhihlvm0-pulseaudio-modules-bt-unstable-2018-09-11/lib/pulse-12.2/modules/libbluez5-util.so
shrinking /nix/store/fdkqh733nrr8f1pg5dbppw4khhihlvm0-pulseaudio-modules-bt-unstable-2018-09-11/lib/pulse-12.2/modules/module-bluez5-discover.so
shrinking /nix/store/fdkqh733nrr8f1pg5dbppw4khhihlvm0-pulseaudio-modules-bt-unstable-2018-09-11/lib/pulse-12.2/modules/libldacBT_enc.so
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/fdkqh733nrr8f1pg5dbppw4khhihlvm0-pulseaudio-modules-bt-unstable-2018-09-11/lib
patching script interpreter paths in /nix/store/fdkqh733nrr8f1pg5dbppw4khhihlvm0-pulseaudio-modules-bt-unstable-2018-09-11
checking for references to /build in /nix/store/fdkqh733nrr8f1pg5dbppw4khhihlvm0-pulseaudio-modules-bt-unstable-2018-09-11...
/nix/store/fdkqh733nrr8f1pg5dbppw4khhihlvm0-pulseaudio-modules-bt-unstable-2018-09-11

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: pulseaudio-modules-bt

Partial log (click to expand)

shrinking /nix/store/a55fjd9q808jd6602bq6gf6a2ci2gnm1-pulseaudio-modules-bt-unstable-2018-09-11/lib/pulse-12.2/modules/module-bluetooth-policy.so
shrinking /nix/store/a55fjd9q808jd6602bq6gf6a2ci2gnm1-pulseaudio-modules-bt-unstable-2018-09-11/lib/pulse-12.2/modules/libbluez5-util.so
shrinking /nix/store/a55fjd9q808jd6602bq6gf6a2ci2gnm1-pulseaudio-modules-bt-unstable-2018-09-11/lib/pulse-12.2/modules/module-bluez5-discover.so
shrinking /nix/store/a55fjd9q808jd6602bq6gf6a2ci2gnm1-pulseaudio-modules-bt-unstable-2018-09-11/lib/pulse-12.2/modules/module-bluez5-device.so
shrinking /nix/store/a55fjd9q808jd6602bq6gf6a2ci2gnm1-pulseaudio-modules-bt-unstable-2018-09-11/lib/pulse-12.2/modules/libldacBT_enc.so
strip is /nix/store/y4ymnvgxygpq05h03kyzbj572zmh6zla-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/a55fjd9q808jd6602bq6gf6a2ci2gnm1-pulseaudio-modules-bt-unstable-2018-09-11/lib
patching script interpreter paths in /nix/store/a55fjd9q808jd6602bq6gf6a2ci2gnm1-pulseaudio-modules-bt-unstable-2018-09-11
checking for references to /build in /nix/store/a55fjd9q808jd6602bq6gf6a2ci2gnm1-pulseaudio-modules-bt-unstable-2018-09-11...
/nix/store/a55fjd9q808jd6602bq6gf6a2ci2gnm1-pulseaudio-modules-bt-unstable-2018-09-11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
8.has: package (new) This PR adds a new package 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild 10.rebuild-linux: 1-10
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants