79921889a0
Nix expressions provide all the features that Quilt series files have, so using those instead is pointless. Also, lib.readPathsFromFile (the function used to read series files) has the following warning: > NOTE: This function is not performant and should be avoided. This also removes some orphaned series files, and unused references to copyPathsToStore (which were probably missed in previous commits where calls to lib.readPathsFromFile were removed)
25 lines
629 B
Nix
25 lines
629 B
Nix
{
|
|
mkDerivation, lib,
|
|
extra-cmake-modules,
|
|
libpthreadstubs, libXdmcp,
|
|
qtbase, qttools, qtx11extras
|
|
}:
|
|
|
|
mkDerivation {
|
|
name = "kwindowsystem";
|
|
meta = {
|
|
maintainers = [ lib.maintainers.ttuegel ];
|
|
broken = builtins.compareVersions qtbase.version "5.7.0" < 0;
|
|
};
|
|
nativeBuildInputs = [ extra-cmake-modules ];
|
|
buildInputs = [ libpthreadstubs libXdmcp qttools qtx11extras ];
|
|
propagatedBuildInputs = [ qtbase ];
|
|
patches = [
|
|
./platform-plugins-path.patch
|
|
];
|
|
preConfigure = ''
|
|
NIX_CFLAGS_COMPILE+=" -DNIXPKGS_QT_PLUGIN_PATH=\"''${!outputBin}/$qtPluginPrefix\""
|
|
'';
|
|
outputs = [ "out" "dev" ];
|
|
}
|