mirror of
https://github.com/youwen5/nixos.git
synced 2025-01-31 09:58:53 -08:00
fix: use correct hyprscroller versions for real
Some checks are pending
Check flake / check (push) Waiting to run
Some checks are pending
Check flake / check (push) Waiting to run
This commit is contained in:
parent
b6f88f58dd
commit
41cf8caea4
1 changed files with 22 additions and 9 deletions
|
@ -1,5 +1,6 @@
|
||||||
{
|
{
|
||||||
pkgs,
|
pkgs,
|
||||||
|
lib,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
|
@ -12,15 +13,27 @@ in
|
||||||
nixpkgs.overlays = [
|
nixpkgs.overlays = [
|
||||||
(import ../pkgs { inherit pkgs; })
|
(import ../pkgs { inherit pkgs; })
|
||||||
(final: prev: {
|
(final: prev: {
|
||||||
hyprlandPlugins.hyprscroller = prev.hyprlandPlugins.hyprscroller.overrideAttrs {
|
hyprlandPlugins.hyprscroller =
|
||||||
version = "0-unstable-2025-01-30";
|
if (lib.versionAtLeast pkgs.hyprland.version "0.47.1") then
|
||||||
src = prev.fetchFromGitHub {
|
prev.hyprlandPlugins.hyprscroller.overrideAttrs {
|
||||||
owner = "dawsers";
|
version = "0.47.1";
|
||||||
repo = "hyprscroller";
|
src = prev.fetchFromGitHub {
|
||||||
rev = "e4b13544ef3cc235eb9ce51e0856ba47eb36e8ac";
|
owner = "dawsers";
|
||||||
hash = "sha256-OYCcIsE25HqVBp8z76Tk1v+SuYR7W1nemk9mDS9GHM8=";
|
repo = "hyprscroller";
|
||||||
};
|
rev = "e4b13544ef3cc235eb9ce51e0856ba47eb36e8ac";
|
||||||
};
|
hash = "sha256-OYCcIsE25HqVBp8z76Tk1v+SuYR7W1nemk9mDS9GHM8=";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
else
|
||||||
|
prev.hyprlandPlugins.hyprscroller.overrideAttrs {
|
||||||
|
version = "0.47.0";
|
||||||
|
src = prev.fetchFromGitHub {
|
||||||
|
owner = "dawsers";
|
||||||
|
repo = "hyprscroller";
|
||||||
|
rev = "ce7503685297d88e0bb0961343ed3fbed21c559c";
|
||||||
|
hash = "sha256-3pGIe4H1LUOJw0ULfVwZ7Ph7r/AyEipx7jbWP7zz3MU=";
|
||||||
|
};
|
||||||
|
};
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue