# Optimization is broken for shipwright, fails to build "The following attributes are overlapping"
# original_package =
# if !config.me.optimizations.enable then
# (optimizeWithFlags prev.shipwright [
# "-march=znver2"
# "-mtune=znver2"
# ])
# else
# prev.shipwright;
in
{
shipwright=pkgs.buildEnv{
name=prev.shipwright.name;
paths=[
(config.lib.nixGL.wraporiginal_package)
];
extraOutputsToInstall=[
"man"
"doc"
"info"
];
# We have to use 555 instead of the normal 444 here because the .desktop file ends up inside $HOME on steam deck and desktop files must be either not in $HOME or must be executable, otherwise KDE Plasma refuses to execute them.