8 unwrapped ? callPackage ./unwrapped.nix {},
10 withLayerShellQt ? false,
13 runCommand "sddm-wrapped" {
14 inherit (unwrapped) version;
16 buildInputs = unwrapped.buildInputs ++ extraPackages
17 ++ lib.optional withWayland qtwayland
18 ++ lib.optional (withWayland && withLayerShellQt) layer-shell-qt;
19 nativeBuildInputs = [ wrapQtAppsHook ];
23 inherit (unwrapped.passthru) tests;
26 meta = unwrapped.meta;
33 if [ "$i" == "bin" ]; then
36 ln -s ${unwrapped}/$i $out/$i
40 makeQtWrapper ${unwrapped}/$i $out/$i --set SDDM_GREETER_DIR $out/bin