plasma5: fixup inputs and outputs
This commit is contained in:
@@ -1,15 +1,16 @@
|
||||
{ mkDerivation, lib, copyPathsToStore
|
||||
, extra-cmake-modules
|
||||
, kwayland, libXrandr
|
||||
, qtx11extras
|
||||
{
|
||||
mkDerivation, lib, copyPathsToStore,
|
||||
extra-cmake-modules,
|
||||
kwayland, libXrandr, qtx11extras
|
||||
}:
|
||||
|
||||
mkDerivation {
|
||||
name = "libkscreen";
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
propagatedBuildInputs = [ kwayland libXrandr qtx11extras ];
|
||||
buildInputs = [ kwayland libXrandr qtx11extras ];
|
||||
outputs = [ "out" "dev" ];
|
||||
patches = copyPathsToStore (lib.readPathsFromFile ./. ./series);
|
||||
preConfigure = ''
|
||||
NIX_CFLAGS_COMPILE+=" -DNIXPKGS_LIBKSCREEN_BACKENDS=\"''${!outputLib}/$qtPluginPrefix/kf5/kscreen\""
|
||||
NIX_CFLAGS_COMPILE+=" -DNIXPKGS_LIBKSCREEN_BACKENDS=\"''${!outputBin}/$qtPluginPrefix/kf5/kscreen\""
|
||||
'';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user