Merge pull request #234624 from sikmir/rtl-sdr
rtl-sdr: fix version in librtlsdr.pc
This commit is contained in:
commit
4e37b4e55b
1 changed files with 2 additions and 1 deletions
|
@ -19,7 +19,8 @@ stdenv.mkDerivation rec {
|
|||
|
||||
postPatch = ''
|
||||
substituteInPlace CMakeLists.txt \
|
||||
--replace '/etc/udev/rules.d' "$out/etc/udev/rules.d"
|
||||
--replace '/etc/udev/rules.d' "$out/etc/udev/rules.d" \
|
||||
--replace "VERSION_INFO_PATCH_VERSION git" "VERSION_INFO_PATCH_VERSION ${lib.versions.patch version}"
|
||||
|
||||
substituteInPlace rtl-sdr.rules \
|
||||
--replace 'MODE:="0666"' 'ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="plugdev"'
|
||||
|
|
Loading…
Reference in a new issue