Skip to content

Commit

Permalink
FEAT: nix: swaylock-effects: add jirutka/swaylock-effects#4
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Pacheco <[email protected]>
  • Loading branch information
MichaelPachec0 committed Apr 29, 2023
1 parent f580f53 commit 3bdfb04
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
};
overlayUnstable = final: prev: { inherit unstable; };
baseModules = [
({ config, pkgs, ... }: {
({ config, pkgs, lib, ... }: {
nixpkgs.overlays = [
overlayUnstable
inputs.hyprland.overlays.default
Expand All @@ -62,6 +62,22 @@
];

});
swaylock-effects-pr = pkgs.unstable.swaylock-effects.overrideAttrs
(oldAttrs: {
version =
lib.strings.concatStrings [ oldAttrs.version "-unstable" ];
patches = let
pr_4 = builtins.fetchurl {
url =
"https://patch-diff.githubusercontent.com/raw/jirutka/swaylock-effects/pull/4.patch";
sha256 =
"1d76clgb7f22z492cvp6qvpff3n0mma2mpa130ill8ysx5lqigb9";
};
in (oldAttrs.patches or [ ]) ++ [
pr_4
];
});

})

];
Expand Down

0 comments on commit 3bdfb04

Please sign in to comment.