forked from mirrors/nixpkgs
libkscreen: fix circular references
This commit is contained in:
parent
91b99ec929
commit
7c850a0fd6
|
@ -71,6 +71,8 @@ let
|
|||
propagateBin = propagate "bin";
|
||||
|
||||
callPackage = self.newScope {
|
||||
inherit propagate propagateBin;
|
||||
|
||||
mkDerivation = args:
|
||||
let
|
||||
inherit (args) name;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
mkDerivation, lib, copyPathsToStore,
|
||||
mkDerivation, lib, copyPathsToStore, propagate,
|
||||
extra-cmake-modules,
|
||||
kwayland, libXrandr, qtx11extras
|
||||
}:
|
||||
|
@ -13,4 +13,5 @@ mkDerivation {
|
|||
preConfigure = ''
|
||||
NIX_CFLAGS_COMPILE+=" -DNIXPKGS_LIBKSCREEN_BACKENDS=\"''${!outputBin}/$qtPluginPrefix/kf5/kscreen\""
|
||||
'';
|
||||
setupHook = propagate "out";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue