-
-
Notifications
You must be signed in to change notification settings - Fork 15.4k
dvb_apps: fix broken package #89023
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
dvb_apps: fix broken package #89023
Conversation
buildInputs = [ perl ]; | ||
buildInputs = [ perl pkgsi686Linux.glibc.static ]; | ||
|
||
patches = [ |
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.
Please use fetchpatch
to pull the patches via URL instead of adding them nixpkgs.
|
||
stdenv.mkDerivation { | ||
name = "dvb-apps-7f68f9c8d311"; | ||
pkgsi686Linux.stdenv.mkDerivation { |
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.
pkgsi686Linux
is an odd choice here. It restricts it to i686 only!? Just stdenv.mkDerivation
should be fine 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.
I tried, but it was compiling with errors. This is the only way that worked and I didn't have much time to inspect the issues better.
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.
It is 0003-handle-static-shared-only-build.patch
which causes that problem. If you remove that patch it compiles with stdenv.mkDerivation
. We do not really need that patch anyway. It would be nice if the build system honors static/shared but it does not hurt here to have both static and shared libs in the same output..
I marked this as stale due to inactivity. → More info |
I marked this as stale due to inactivity. → More info |
dvb_apps has been removed in 2020. |
Motivation for this change
Package dvb_apps was broken and quite old.
This PR upgrades it to its latest version and applies the same patches applied by ArchLinux.
Things done
I've updated the package and applied patches, according to https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=linuxtv-dvb-apps.
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)