mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
polybar: fix gcc15 compilation (#475892)
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
cairo,
|
||||
cmake,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
libuv,
|
||||
libXdmcp,
|
||||
libpthreadstubs,
|
||||
@@ -88,7 +89,16 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
i3
|
||||
];
|
||||
|
||||
patches = [ ./remove-hardcoded-etc.diff ];
|
||||
patches = [
|
||||
# FIXME: remove after version update
|
||||
(fetchpatch {
|
||||
name = "gcc15-cstdint-fix.patch";
|
||||
url = "https://github.com/polybar/polybar/commit/f99e0b1c7a5b094f5a04b14101899d0cb4ece69d.patch";
|
||||
sha256 = "sha256-Mf9R4u1Kq4yqLqTFD5ZoLjrK+GmlvtSsEyRFRCiQ72U=";
|
||||
})
|
||||
|
||||
./remove-hardcoded-etc.diff
|
||||
];
|
||||
|
||||
# Replace hardcoded /etc when copying and reading the default config.
|
||||
postPatch = ''
|
||||
|
||||
Reference in New Issue
Block a user