!XrtRvzcHOrHtSKARne:nixos.org

NixOS Audio

119 Members
27 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
7 Dec 2023
@lily:lily.flowers@lily:lily.flowers
In reply to @lily:lily.flowers

doing a nixos config like the below should patch in the fix and then graft it into your system. it, uh, doesn't work in pure eval (e.g. flakes) so you'll need to add --impure or something if you use flakes (it also needs IFD, but unless you manually disabled that, it should be enabled):

system.replaceRuntimeDependencies = [
  ({
    original = pkgs.alsa-ucm-conf;
    replacement = pkgs.alsa-ucm-conf.overrideAttrs (oldAttrs: {
      patches = (oldAttrs.patches or []) ++ [
        (fetchpatch {
          name = "alsa-ucm-conf-splitpcm-device-argument-fix.patch";
          url = "https://github.com/alsa-project/alsa-ucm-conf/commit/b68aa52acdd2763fedad5eec0f435fbf43e5ccc6.patch";
          hash = "sha256-8WE4+uhi4W7cCSZYmL7uFpcHJ9muX09UkGXyZIpEd9I=";
        })
      ];
    });
  })
];
(and grafting instead of overlay means you don't need to rebuild every package depending on alsa-lib, which is, uh, a lot)
21:23:12
@alan:alnn.xyzalan set a profile picture.21:25:51
@alan:alnn.xyzalan changed their profile picture.21:36:22
8 Dec 2023
@sporesirius:matrix.orgSporesirius
In reply to @lily:lily.flowers

doing a nixos config like the below should patch in the fix and then graft it into your system. it, uh, doesn't work in pure eval (e.g. flakes) so you'll need to add --impure or something if you use flakes (it also needs IFD, but unless you manually disabled that, it should be enabled):

system.replaceRuntimeDependencies = [
  ({
    original = pkgs.alsa-ucm-conf;
    replacement = pkgs.alsa-ucm-conf.overrideAttrs (oldAttrs: {
      patches = (oldAttrs.patches or []) ++ [
        (fetchpatch {
          name = "alsa-ucm-conf-splitpcm-device-argument-fix.patch";
          url = "https://github.com/alsa-project/alsa-ucm-conf/commit/b68aa52acdd2763fedad5eec0f435fbf43e5ccc6.patch";
          hash = "sha256-8WE4+uhi4W7cCSZYmL7uFpcHJ9muX09UkGXyZIpEd9I=";
        })
      ];
    });
  })
];
Oh wow, I see, that makes a lot of sense. Thanks for the help.
I'll try to PR, but first I have to fix a problem compiling with the patch. xdg-desktop-portal-1.18.2.drv fails a test.
00:29:45
10 Dec 2023
@/yvan:matrix.orgYvan Sraka changed their display name from Yvan Sraka to Yvan Sraka (old).10:56:12
@rootname:matrix.org@rootname:matrix.org joined the room.12:06:44
17 Dec 2023
@nam3l33ss:matrix.org@nam3l33ss:matrix.org changed their profile picture.04:39:12
21 Dec 2023
@eyduh:matrix.org@eyduh:matrix.org joined the room.02:19:19
@jcelerier:matrix.orgJean-Michaël Celerier hello! what would be the next steps to get this PR to progress? https://github.com/NixOS/nixpkgs/pull/174802#issuecomment-1845238990 16:09:31
@Minijackson:matrix.orgMinijacksonoh I must've missed the latest notifications, I thought we were still waiting for a Qt6-compatible release17:40:16
@Minijackson:matrix.orgMinijacksonI'll see if I can update the PR tonight17:40:23
@Minijackson:matrix.orgMinijacksonif someone wants to co-maintain ossia-score, please step up, I'm pretty busy these days so it's easy for me to miss releases17:41:03
@Minijackson:matrix.orgMinijackson Jean-Michaël Celerier: done 19:06:40
@jcelerier:matrix.orgJean-Michaël Celerierthanks!19:24:05
@jcelerier:matrix.orgJean-Michaël Celerierthe latest releases are all based on Qt 619:24:15
@jcelerier:matrix.orgJean-Michaël CelerierI'd be up for participating to the co-maintainership at least by checking the build script swhen there's an update19:24:44
@jcelerier:matrix.orgJean-Michaël CelerierI'd like to add a Nix step to ossia's CI to make sure there aren't any breaking changes19:24:59
@jcelerier:matrix.orgJean-Michaël Celerier e.g. here: https://github.com/ossia/score/actions/runs/7267711945 19:25:34
@Minijackson:matrix.orgMinijacksonnice!19:25:56

Show newer messages


Back to Room ListRoom Version: 9