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