flake: remove libinput patch (#163)
This was backported to SwayFX in 3c2e38b
This commit is contained in:
parent
3c2e38be03
commit
60e24c9cf4
|
@ -18,11 +18,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1683048793,
|
"lastModified": 1684585791,
|
||||||
"narHash": "sha256-XA1Y70qnX08eAYFfq4k9L1Bdu37+zm28B32w7d+155o=",
|
"narHash": "sha256-lYPboblKrchmbkGMoAcAivomiOscZCjtGxxTSCY51SM=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "e4ad893057db74091ed0e3edf509a72fb83051df",
|
"rev": "eea79d584eff53bf7a76aeb63f8845da6d386129",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
14
flake.nix
14
flake.nix
|
@ -22,8 +22,18 @@
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
overlays.default = final: prev: {
|
overlays.default = final: prev: {
|
||||||
swayfx-unwrapped = prev.sway-unwrapped.overrideAttrs
|
swayfx-unwrapped = prev.sway-unwrapped.overrideAttrs (old: {
|
||||||
(old: { src = builtins.path { path = prev.lib.cleanSource ./.; }; });
|
src = builtins.path { path = prev.lib.cleanSource ./.; };
|
||||||
|
patches =
|
||||||
|
let
|
||||||
|
removePatches = [
|
||||||
|
"LIBINPUT_CONFIG_ACCEL_PROFILE_CUSTOM.patch"
|
||||||
|
];
|
||||||
|
in
|
||||||
|
builtins.filter
|
||||||
|
(patch: !builtins.elem (patch.name or null) removePatches)
|
||||||
|
(old.patches or [ ]);
|
||||||
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
packages = nixpkgs.lib.genAttrs targetSystems (system:
|
packages = nixpkgs.lib.genAttrs targetSystems (system:
|
||||||
|
|
Loading…
Reference in a new issue