Skip to content

Commit

Permalink
refactor(overlays): limit autoconf-archive patch to cava pkg
Browse files Browse the repository at this point in the history
  • Loading branch information
zakuciael committed Dec 2, 2024
1 parent e5f8519 commit fac9fc1
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 15 deletions.
15 changes: 0 additions & 15 deletions overlays/autoconf-archive/default.nix

This file was deleted.

22 changes: 22 additions & 0 deletions overlays/cava/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{lib, ...}:
with lib;
singleton (final: prev: {
# TODO: Remove when https://github.com/NixOS/nixpkgs/pull/355948 is merged into unstable branch
cava = prev.cava.overrideAttrs (prevAttrs: {
nativeBuildInputs = with prev; [
autoreconfHook
pkgconf
versionCheckHook
(autoconf-archive.overrideAttrs {
patches = [
# cherry-picked changes from
# https://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=commit;h=fadde164479a926d6b56dd693ded2a4c36ed89f0
# can be removed on next release
./0001-ax_check_gl.m4-properly-quote-m4_fatal.patch
./0002-ax_check_glx.m4-properly-quote-m4_fatal.patch
./0003-ax_switch_flags.m4-properly-quote-m4_fatal.patch
];
})
];
});
})

0 comments on commit fac9fc1

Please sign in to comment.