-
-
Notifications
You must be signed in to change notification settings - Fork 16.7k
gpu-screen-recorder{,-gtk}: add passthru.updateScript, update #367552
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
Conversation
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.
Don't know how to test it locally, but it looks great.
5.0.0 is now out: https://git.dec05eba.com/gpu-screen-recorder/ |
pkgs/applications/video/gpu-screen-recorder/gpu-screen-recorder-gtk.nix
Outdated
Show resolved
Hide resolved
pkgs/applications/video/gpu-screen-recorder/gpu-screen-recorder-gtk.nix
Outdated
Show resolved
Hide resolved
There is also gpu-screen-recorder-ui now, which is interesting |
I was just opening a packaging request for this. Looks like someone already did some preliminary work: https://github.com/Nowaaru/nix-diary/tree/6230e94b178924e7455a1dc0d318f50e10c8aec6/modules/gpu-screen-recorder/packages. The module would probably need to be updated as well. |
3981d06
to
f48ec9d
Compare
f48ec9d
to
092f692
Compare
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.
nixpkgs-review
result
Generated using nixpkgs-review
.
Command: nixpkgs-review pr 367552
x86_64-linux
✅ 2 packages built:
- gpu-screen-recorder
- gpu-screen-recorder-gtk
}: | ||
|
||
stdenv.mkDerivation (finalAttrs: { | ||
stdenv.mkDerivation rec { |
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.
stdenv.mkDerivation rec { | |
stdenv.mkDerivation (finalAttrs: { |
https://discourse.nixos.org/t/avoid-rec-expresions-in-nixpkgs/8293
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.
Using finalAttrs
instead of rec
for version
here would lead to #310373. I don't think there is a consensus on the best solution, but rec
works fine here.
url = "https://dec05eba.com/snapshot/gpu-screen-recorder-gtk.git.${finalAttrs.version}.tar.gz"; | ||
hash = "sha256-uXbiuA1XPWZVwQGLh47rKzCZSEUEPWqYALqMuCGA7do="; | ||
src = fetchgit { | ||
url = "https://repo.dec05eba.com/${pname}"; |
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.
url = "https://repo.dec05eba.com/${pname}"; | |
url = "https://repo.dec05eba.com/gpu-screen-recorder-gtk"; |
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.
rec
being constant doesn't introduce any overriding traps here, so whether you use ${pname}
or a literal value is a subjective choice. Imo this is nicer because it can be shared across all gpu-screen-recorder-*
packages.
092f692
to
8b1deb5
Compare
8b1deb5
to
4236157
Compare
So... how do I get this merged? |
Basically have to wait for a committer to review and merge. You could try posting that the PR is ready for review in this thread which I've seen speed up PR reviews. Afraid there's not much else aside from pinging committers which I think is considered taboo. |
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.
nixpkgs-review
result
Generated using nixpkgs-review
.
Command: nixpkgs-review pr 367552
x86_64-linux
✅ 2 packages built:
- gpu-screen-recorder
- gpu-screen-recorder-gtk
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/prs-ready-for-review/3032/5256 |
eee6cc0
to
281bffb
Compare
I'm not sure why ofborg-eval failed, but this still compiles and run fine. |
The GTK app is no longer being developed. No need to drop from nixpkgs yet, just something to note. |
281bffb
to
c34d9ef
Compare
I have added
I guess that's caused by our security wrappers making the capabilities ambient?
|
Hmm seems like it. The fix in 5.5.2 was to move that dbus code to another process (a child process) that runs the included program |
Adding a |
I'll add that then. As long as it works! |
@dec05eba Also, how would I test that |
@js6pak I added the ambient fix you mentioned and released it as part of 5.5.3. With that version it also mentions if cap_sys_nice is not working. If it's not working then it outputs this when you run
|
This reverts commit 7b69d08, because gpu-screen-recorder 5.5.2 fixes the original issue.
c34d9ef
to
110d7b2
Compare
Both |
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.
Still functioning great. I'm hoping this can finally be merged along with #369574
nixpkgs-review
result
Generated using nixpkgs-review
.
Command: nixpkgs-review pr 367552
x86_64-linux
⏩ 2 packages blacklisted:
- nixos-install-tools
- tests.nixos-functions.nixos-test
✅ 2 packages built:
- gpu-screen-recorder
- gpu-screen-recorder-gtk
|
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.