-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
proton-ge-rtsp-bin: update to 9-22-rtsp-17 and prevent steam settings… #300
Conversation
|
||
src = fetchzip { | ||
url = "https://github.com/SpookySkeletons/proton-ge-rtsp/releases/download/${finalAttrs.version}/${finalAttrs.version}.tar.gz"; | ||
hash = "sha256-iq7oiDW5+51wzqYwASOGSV922c/pg1k29MdkIXlT34k="; | ||
}; | ||
|
||
postBuild = '' | ||
# prevents steam from resetting compatability settings (in addition to upstream's modifications) | ||
sed -i -r 's|GE-Proton-rtsp[0-9]*|GE-Proton-rtsp|' $steamcompattool/compatibilitytool.vdf |
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'd prefer this to use substituteInPlace. You would have to change it from being a regex to a regular string substitution using the metadata we already have in the derivation
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.
The upstream package in nixpkgs is already modifying it in the same way. This seems like a simpler way so we don't have to bookkeep the correct rtsp version
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.
But anyway, changed
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.
Nvm, regex doesn't work with substituteInPlace, or I don't know how to correctly use it if there is a way
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.
Does this sed
even work?
The file shows the following display name in my local copy: GE-Proton9-22-rtsp17
. Quite conveniently, this is the exact value of version
. We should be able to use substituteInPlace
here
dcff605
to
c056304
Compare
|
||
src = fetchzip { | ||
url = "https://github.com/SpookySkeletons/proton-ge-rtsp/releases/download/${finalAttrs.version}/${finalAttrs.version}.tar.gz"; | ||
hash = "sha256-iq7oiDW5+51wzqYwASOGSV922c/pg1k29MdkIXlT34k="; | ||
}; | ||
|
||
postBuild = '' | ||
# prevents steam from resetting compatability settings (in addition to upstream's modifications) | ||
sed -i -r 's|GE-Proton-rtsp[0-9]*|GE-Proton-rtsp|' $steamcompattool/compatibilitytool.vdf |
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.
Does this sed
even work?
The file shows the following display name in my local copy: GE-Proton9-22-rtsp17
. Quite conveniently, this is the exact value of version
. We should be able to use substituteInPlace
here
… breaking after update
c056304
to
cb9f2e5
Compare
… breaking after update