Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
umu-launcher[-unwrapped]: init at 1.1.4 #369259
base: master
Are you sure you want to change the base?
umu-launcher[-unwrapped]: init at 1.1.4 #369259
Changes from all commits
72fca19
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This patch shouldn't be needed once Open-Wine-Components/umu-launcher#289 makes it into a release.
Maybe gate the patch file behind
lib.versionOlder "1.1.5"
or `version == "1.1.4"? Assuming this PR gets merged before there's another upstream release.That way anyone overriding this package with a newer version (or commit) won't also need to disable the patch.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This patch could be avoided by overriding
RELEASEDIR
explicitly inmakeFlags
.If it matters, we know
$(PROJECT)
should always beumu-launcher
. But I think for our purposesRELEASEDIR
could be any string?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add a comment to explain why this patch is needed? And/or a TODO/FIXME if you think there's a better approach?
(personally, I don't really understand why we need
--prefix
instead of--destdir
here)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: could we avoid vague negativity in comments? It could be helpful to list issues we have with the upstream variables, but I think this comment as-is may be counter-productive.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know we touched on this before, but my preference would be to set this via
makeFlags
instead of having apreBuild
script.I think this would make the package easier to override. Probably not a big deal, but it feels cleaner.
This could be done by either
DESTDIR
to some local path, then later during theinstallPhase
moving the files to$out
,DESTDIR=${placeholder "out"}
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
May be worth copying heroic
nixpkgs/pkgs/games/heroic/fhsenv.nix
Lines 4 to 5 in 235caa7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To make it easier for end-users to add extra packages to the FHS environment by overriding.
This could be done in a follow-up PR if preferred
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes I what the code does, but in what scenario would that be useful
I assume heroic launcher also supports native games, in which case it would make sense, but as far as I know, umu is for windows games only
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needed for passing graphics and fixing a cursor issue. Graphics is needed for dxvk-nvapi to work
nixpkgs/nixos/modules/programs/steam.nix
Lines 51 to 57 in e24b4c0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IDK if this is good practice, but this could be set as:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.