plasma5: rename plasmaPackage to mkDerivation

This commit is contained in:
Thomas Tuegel
2017-06-18 08:42:20 -05:00
parent 6beea32ab1
commit eaa644a5af
38 changed files with 106 additions and 133 deletions
@@ -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\""