tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
sway: patch to fix build after libinput update
Vladimír Čunát
2 years ago
d59a9cab
7d385961
+7
-1
1 changed file
expand all
collapse all
unified
split
pkgs
applications
window-managers
sway
default.nix
+7
-1
pkgs/applications/window-managers/sway/default.nix
···
1
-
{ lib, stdenv, fetchFromGitHub, substituteAll, swaybg
2
, meson, ninja, pkg-config, wayland-scanner, scdoc
3
, wayland, libxkbcommon, pcre2, json_c, libevdev
4
, pango, cairo, libinput, libcap, pam, gdk-pixbuf, librsvg
···
37
(substituteAll {
38
src = ./fix-paths.patch;
39
inherit swaybg;
0
0
0
0
0
0
40
})
41
] ++ lib.optionals (!isNixOS) [
42
# References to /nix/store/... will get GC'ed which causes problems when
···
1
+
{ lib, stdenv, fetchFromGitHub, fetchpatch, substituteAll, swaybg
2
, meson, ninja, pkg-config, wayland-scanner, scdoc
3
, wayland, libxkbcommon, pcre2, json_c, libevdev
4
, pango, cairo, libinput, libcap, pam, gdk-pixbuf, librsvg
···
37
(substituteAll {
38
src = ./fix-paths.patch;
39
inherit swaybg;
40
+
})
41
+
42
+
(fetchpatch {
43
+
name = "LIBINPUT_CONFIG_ACCEL_PROFILE_CUSTOM.patch";
44
+
url = "https://github.com/swaywm/sway/commit/dee032d0a0ecd958c902b88302dc59703d703c7f.diff";
45
+
hash = "sha256-dx+7MpEiAkxTBnJcsT3/1BO8rYRfNLecXmpAvhqGMD0=";
46
})
47
] ++ lib.optionals (!isNixOS) [
48
# References to /nix/store/... will get GC'ed which causes problems when