This commit is contained in:
Andreas Schaafsma 2025-07-15 10:04:49 +02:00
parent 95388efbc8
commit 41321a5364
2 changed files with 10 additions and 9 deletions

View File

@ -34,8 +34,10 @@
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
wallpaper-engine-plugin-src = { wallpaper-engine-plugin-src = {
url = "github:catsout/wallpaper-engine-kde-plugin/main"; url = "github:catsout/wallpaper-engine-kde-plugin/9e60b364e268814a1a778549c579ad45a9b9c7bb";
flake = false; flake = false;
type = "git";
submodules = true;
}; };
}; };

View File

@ -4,9 +4,8 @@ pkgs.kdePackages.mkKdeDerivation rec {
pname = "wallpaper-engine-plugin"; pname = "wallpaper-engine-plugin";
version = "unstable-2023-07-01"; version = "unstable-2023-07-01";
src = if inputs != null && inputs ? wallpaper-engine-plugin-src # Always use fetchgit to ensure submodules are properly fetched
then inputs.wallpaper-engine-plugin-src src = pkgs.fetchgit {
else pkgs.fetchgit {
url = "https://github.com/catsout/wallpaper-engine-kde-plugin.git"; url = "https://github.com/catsout/wallpaper-engine-kde-plugin.git";
rev = "9e60b364e268814a1a778549c579ad45a9b9c7bb"; rev = "9e60b364e268814a1a778549c579ad45a9b9c7bb";
hash = "sha256-zEpELmuK+EvQ1HIWxCSAGyJAjmGgp0yqjtNuC2DTES8="; hash = "sha256-zEpELmuK+EvQ1HIWxCSAGyJAjmGgp0yqjtNuC2DTES8=";