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": {
|
||||
"locked": {
|
||||
"lastModified": 1683048793,
|
||||
"narHash": "sha256-XA1Y70qnX08eAYFfq4k9L1Bdu37+zm28B32w7d+155o=",
|
||||
"lastModified": 1684585791,
|
||||
"narHash": "sha256-lYPboblKrchmbkGMoAcAivomiOscZCjtGxxTSCY51SM=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "e4ad893057db74091ed0e3edf509a72fb83051df",
|
||||
"rev": "eea79d584eff53bf7a76aeb63f8845da6d386129",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
14
flake.nix
14
flake.nix
|
@ -22,8 +22,18 @@
|
|||
in
|
||||
{
|
||||
overlays.default = final: prev: {
|
||||
swayfx-unwrapped = prev.sway-unwrapped.overrideAttrs
|
||||
(old: { src = builtins.path { path = prev.lib.cleanSource ./.; }; });
|
||||
swayfx-unwrapped = prev.sway-unwrapped.overrideAttrs (old: {
|
||||
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:
|
||||
|
|
Loading…
Reference in a new issue