diff --git a/pkgs/desktops/plasma-5/3rdparty/addons/polonium.nix b/pkgs/by-name/po/polonium/package.nix similarity index 89% rename from pkgs/desktops/plasma-5/3rdparty/addons/polonium.nix rename to pkgs/by-name/po/polonium/package.nix index 6b924cd92287..412774af533b 100644 --- a/pkgs/desktops/plasma-5/3rdparty/addons/polonium.nix +++ b/pkgs/by-name/po/polonium/package.nix @@ -1,7 +1,7 @@ { lib , fetchFromGitHub , buildNpmPackage -, plasma-framework +, libsForQt5 }: # how to update: @@ -28,7 +28,7 @@ buildNpmPackage rec { # manually do the install buildFlags = [ "res" "src" ]; - nativeBuildInputs = [ plasma-framework ]; + nativeBuildInputs = with libsForQt5; [ plasma-framework ]; dontNpmBuild = true; @@ -50,6 +50,6 @@ buildNpmPackage rec { kotatsuyaki HeitorAugustoLN ]; - inherit (plasma-framework.meta) platforms; + inherit (libsForQt5.plasma-framework.meta) platforms; }; } diff --git a/pkgs/desktops/plasma-5/default.nix b/pkgs/desktops/plasma-5/default.nix index 46b9e0c3a65e..b1fa8a7068a1 100644 --- a/pkgs/desktops/plasma-5/default.nix +++ b/pkgs/desktops/plasma-5/default.nix @@ -184,7 +184,6 @@ let kzones = callPackage ./3rdparty/kwin/scripts/kzones.nix { }; lightly = callPackage ./3rdparty/lightly { }; parachute = callPackage ./3rdparty/kwin/scripts/parachute.nix { }; - polonium = callPackage ./3rdparty/addons/polonium.nix { }; }; } // lib.optionalAttrs config.allowAliases {