[go: up one dir, main page]

Skip to content

Commit

Permalink
override zoom's pipewire (see NixOS/nixpkgs#322970)
Browse files Browse the repository at this point in the history
  • Loading branch information
gvolpe committed Jul 23, 2024
1 parent 5e33d4c commit 2943120
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 2 deletions.
16 changes: 16 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@

# https://github.com/NixOS/nixpkgs/commit/c3160517fc6381f86776795e95c97b8ef7b5d2e4
nixpkgs-mega.url = "nixpkgs/c3160517fc6381f86776795e95c97b8ef7b5d2e4";
# https://github.com/NixOS/nixpkgs/issues/322970
nixpkgs-zoom.url = "nixpkgs/24.05";

## nix client with schema support: see https://github.com/NixOS/nix/pull/8892
nix-schema = {
Expand Down
4 changes: 2 additions & 2 deletions home/overlays/zoom/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ let
version = "6.0.2.4680";
in
{
zoom-us = super.zoom-us.overrideAttrs (old: {
# pipewire-zoom = pipewire v1.0.7
zoom-us = (super.zoom-us.override { pipewire = super.pipewire-zoom; }).overrideAttrs (old: {
inherit version;

src = super.fetchurl {
Expand All @@ -15,4 +16,3 @@ in
};
});
}

6 changes: 6 additions & 0 deletions lib/overlays.nix
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,11 @@ let
'';
});
};

# pipewire overlay for broken zoom-us
pipewireOverlay = f: p: {
pipewire-zoom = inputs.nixpkgs-zoom.legacyPackages.${system}.pipewire;
};
in
[
cowsayOverlay
Expand All @@ -107,6 +112,7 @@ in
neovim-flake.overlays.${system}.default
statix.overlays.default
xargsOverlay
pipewireOverlay
(import ../home/overlays/bat-lvl)
(import ../home/overlays/bazecor)
(import ../home/overlays/hypr-monitor-attached)
Expand Down

0 comments on commit 2943120

Please sign in to comment.