Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
44 lines
798 B
Nix
44 lines
798 B
Nix
{
|
|
lib,
|
|
callPackage,
|
|
runCommand,
|
|
wrapQtAppsHook,
|
|
unwrapped ? callPackage ./unwrapped.nix { },
|
|
extraPackages ? [ ],
|
|
}:
|
|
runCommand "sddm-wrapped"
|
|
{
|
|
inherit (unwrapped) version outputs;
|
|
|
|
buildInputs = unwrapped.buildInputs ++ extraPackages;
|
|
nativeBuildInputs = [ wrapQtAppsHook ];
|
|
|
|
strictDeps = true;
|
|
|
|
passthru = {
|
|
inherit unwrapped;
|
|
inherit (unwrapped.passthru) tests;
|
|
};
|
|
|
|
meta = unwrapped.meta;
|
|
}
|
|
''
|
|
mkdir -p $out/bin
|
|
|
|
cd ${unwrapped}
|
|
|
|
for i in *; do
|
|
if [ "$i" == "bin" ]; then
|
|
continue
|
|
fi
|
|
ln -s ${unwrapped}/$i $out/$i
|
|
done
|
|
|
|
for i in bin/*; do
|
|
makeQtWrapper ${unwrapped}/$i $out/$i --set SDDM_GREETER_DIR $out/bin
|
|
done
|
|
|
|
mkdir -p $man
|
|
ln -s ${lib.getMan unwrapped}/* $man/
|
|
''
|