summary refs log tree commit diff
path: root/pkgs/desktops/plasma-5/libkscreen
diff options
context:
space:
mode:
authorThomas Tuegel <ttuegel@mailbox.org>2017-05-26 15:44:36 -0500
committerThomas Tuegel <ttuegel@mailbox.org>2017-06-18 08:44:45 -0500
commit8538d75734e4776807203b66f91a281f4da4e801 (patch)
tree9c019aa8f56873c38b9267d56dce05a07570dc1e /pkgs/desktops/plasma-5/libkscreen
parent7f95d4834f772607fb4c9b2ffa4611ccd0a1006f (diff)
downloadnixlib-8538d75734e4776807203b66f91a281f4da4e801.tar
nixlib-8538d75734e4776807203b66f91a281f4da4e801.tar.gz
nixlib-8538d75734e4776807203b66f91a281f4da4e801.tar.bz2
nixlib-8538d75734e4776807203b66f91a281f4da4e801.tar.lz
nixlib-8538d75734e4776807203b66f91a281f4da4e801.tar.xz
nixlib-8538d75734e4776807203b66f91a281f4da4e801.tar.zst
nixlib-8538d75734e4776807203b66f91a281f4da4e801.zip
plasma5: fixup inputs and outputs
Diffstat (limited to 'pkgs/desktops/plasma-5/libkscreen')
-rw-r--r--pkgs/desktops/plasma-5/libkscreen/default.nix13
1 files changed, 7 insertions, 6 deletions
diff --git a/pkgs/desktops/plasma-5/libkscreen/default.nix b/pkgs/desktops/plasma-5/libkscreen/default.nix
index 82a254c3a379..b81755ed7579 100644
--- a/pkgs/desktops/plasma-5/libkscreen/default.nix
+++ b/pkgs/desktops/plasma-5/libkscreen/default.nix
@@ -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\""
   '';
 }