dtv-scan-tables: set PREFIX=$out, put files in /share/dvbv5/..

This changes the output directory layout:
Channel files are placed in `$out/share/dvbv5/dvb-xyz`
instead of `$out/dvbv5/dvb-xyz`.
This is closer to the layout common for other packages
and facilitates merging packages with `buildEnv`.

The only depender `tvheadend` is updated accordingly.
This commit is contained in:
Yarny0 2023-01-14 12:44:04 +01:00
parent befc83905c
commit f6e4fe96f4
2 changed files with 3 additions and 3 deletions

View File

@ -19,8 +19,8 @@ stdenv.mkDerivation rec {
v4l-utils
];
installFlags = [
"DATADIR=$(out)"
makeFlags = [
"PREFIX=$(out)"
];
meta = with lib; {

View File

@ -105,7 +105,7 @@ in stdenv.mkDerivation {
--replace /usr/bin/tar ${gnutar}/bin/tar
substituteInPlace src/input/mpegts/scanfile.c \
--replace /usr/share/dvb ${dtv-scan-tables}/dvbv5
--replace /usr/share/dvb ${dtv-scan-tables}/share/dvbv5
# the version detection script `support/version` reads this file if it
# exists, so let's just use that