Skip to content

Commit 260e442

Browse files
alttab: fix gcc-15 build (NixOS#482086)
2 parents 2e6ec46 + 1c3ca1b commit 260e442

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

pkgs/by-name/al/alttab/package.nix

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
stdenv,
44
coreutils,
55
fetchFromGitHub,
6+
fetchpatch,
67
autoconf,
78
automake,
89
pkg-config,
@@ -35,6 +36,15 @@ stdenv.mkDerivation (finalAttrs: {
3536
sha256 = "sha256-1+hk0OeSriXPyefv3wOgeiW781PL4VP5Luvt+RS5jmg=";
3637
};
3738

39+
patches = [
40+
# Fix gcc-15 build failure: https://github.com/sagb/alttab/pull/178
41+
(fetchpatch {
42+
name = "gcc-15.patch";
43+
url = "https://github.com/sagb/alttab/commit/665e3e369f74ab0075c22a46a3cb3a9f76bdd762.patch";
44+
hash = "sha256-7l74kXs0bAyozBbgOEzDSY+4NE2pjdVfWda0XiPvCz4=";
45+
})
46+
];
47+
3848
nativeBuildInputs = [
3949
autoconf
4050
automake

0 commit comments

Comments
 (0)