flake: remove libinput patch (#163)

This was backported to SwayFX in 3c2e38b
This commit is contained in:
Ricardo Steijn 2023-05-21 16:04:34 +02:00 committed by GitHub
parent 3c2e38be03
commit 60e24c9cf4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 5 deletions

View file

@ -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": {

View file

@ -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: