-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
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
MythTV 29.1 -> 30.0 #71002
MythTV 29.1 -> 30.0 #71002
Conversation
I'll have to path some unpure stuff starting at line 6669 to prevent the build from failing if build with xnvctrl enabled. Will look into this tomorrow. |
I have to combine these two call packages in all-packages.nix: mythtv = callPackage ../applications/video/mythtv { libXNVCtrl = linuxPackages.nvidia_x11.settings.libXNVCtrl; }; However I don't know how to do this. |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/multiple-callpackage-for-one-package/4373/1 |
|
I'll commit some final changes within an hour. |
I'll have to correct a patch. |
building '/nix/store/z7p5knmsrif1l9zf1m46h91ng3zpjnnn-mythtv-30.0.drv'... I'm a bit unsure if I have disabled enough stuff in disable_xnvctrl_detection.patch - is enough to comment line from line 6644 (if enabled xnvctrl; then) or should I start at line 6640 (if enabled x11; then) ? |
@jonringer Hi. Could you look at this updated pull request? Thanks. |
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.
some of these are not launching right, applying the changes should fix this, IIRC
nix-shell:/home/jon/.cache/nix-review/pr-71002]$ ./results/mythtv/bin/mythwelcome
qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Aborted (core dumped)
@@ -1,40 +1,38 @@ | |||
{ stdenv, fetchFromGitHub, which, qtbase, qtwebkit, qtscript, xlibsWrapper |
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, fetchFromGitHub, which, qtbase, qtwebkit, qtscript, xlibsWrapper | |
{ stdenv, mkDerivation, fetchFromGitHub, which, qtbase, qtwebkit, qtscript, xlibsWrapper |
# Bah. Suse linux doesn't have xnvctrl. | ||
- . /etc/os-release | ||
- case $ID in | ||
+ case nix in |
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.
not sure how i feel about this one
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've made another fix which might be a better way to patch it.
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 think you can remove this file now?
@jonringer Hi. Could you look at this updated pull request yet again? Thanks. |
@GrahamcOfBorg build mythtv |
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.
Builds OK for me and the binaries I tried worked fine for me. E.g. mythwelcome
.
if enabled xnvctrl; then | ||
- case $target_os in | ||
- linux) | ||
+# case $target_os in |
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.
An option would be to simply delete the commented lines instead of commenting them 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.
nix-review
passes on NixOS
diff LGTM
executables seem to work
[2 built, 0.0 MiB DL]
https://github.com/NixOS/nixpkgs/pull/71002
1 package were build:
mythtv
I like @rycee 's suggestion
Rebased to master in 2896f00. |
(cherry picked from commit 2896f00)
Restoration of this pull request: #67191
Motivation for this change
#54596
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)Notify maintainers
Jonathan Rudenberg jonathan@titanous.com