plasma5: rename plasmaPackage to mkDerivation
This commit is contained in:
@@ -1,17 +1,13 @@
|
||||
{ plasmaPackage, lib, copyPathsToStore
|
||||
{ mkDerivation, lib, copyPathsToStore
|
||||
, extra-cmake-modules
|
||||
, kwayland, libXrandr
|
||||
, qtx11extras
|
||||
}:
|
||||
|
||||
plasmaPackage {
|
||||
mkDerivation {
|
||||
name = "libkscreen";
|
||||
nativeBuildInputs = [
|
||||
extra-cmake-modules
|
||||
];
|
||||
propagatedBuildInputs = [
|
||||
kwayland libXrandr qtx11extras
|
||||
];
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
propagatedBuildInputs = [ kwayland libXrandr qtx11extras ];
|
||||
patches = copyPathsToStore (lib.readPathsFromFile ./. ./series);
|
||||
preConfigure = ''
|
||||
NIX_CFLAGS_COMPILE+=" -DNIXPKGS_LIBKSCREEN_BACKENDS=\"''${!outputLib}/$qtPluginPrefix/kf5/kscreen\""
|
||||
|
||||
Reference in New Issue
Block a user