Merge pull request #173121 from trofi/fix-fno-common-for-i3lock-blur

i3lock-blur: pull patch pending upstream inclusion for -fno-common to…
This commit is contained in:
Sergei Trofimovich 2022-05-27 08:04:21 +00:00 committed by GitHub
commit 4b87c6e605
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
{ i3lock-color, lib, stdenv, fetchFromGitHub }:
{ i3lock-color, lib, stdenv, fetchFromGitHub, fetchpatch }:
i3lock-color.overrideAttrs (oldAttrs : rec {
pname = "i3lock-blur";
@ -11,6 +11,16 @@ i3lock-color.overrideAttrs (oldAttrs : rec {
sha256 = "sha256-rBQHYVD9rurzTEXrgEnOziOP22D2EePC1+EV9Wi2pa0=";
};
patches = [
# Pull patch pending upstream inclusion for -fno-common toolchain
# support: https://github.com/karulont/i3lock-blur/pull/22
(fetchpatch {
name = "fno-common.patch";
url = "https://github.com/karulont/i3lock-blur/commit/ec8fe0e7f7d78bf445602ed517efd5c324bb32f7.patch";
sha256 = "sha256-0hXUr+ZEB1tpI3xw80/hGzKyeGuna4CQmEvK6t0VBqU=";
})
];
meta = with lib; {
description = "An improved screenlocker based upon XCB and PAM with background blurring filter";
homepage = "https://github.com/karulont/i3lock-blur/";