Merge pull request #317396 from luochen1990/fix-ffado-hash

ffado: fix hash, see https://ffado.org/posts/ffado-2.4.8-tarball_fix/
This commit is contained in:
Nick Cao 2024-06-08 09:24:00 -04:00 committed by GitHub
commit 42cb6fb3bb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -29,11 +29,9 @@ mkDerivation rec {
src = fetchurl {
url = "http://www.ffado.org/files/libffado-${version}.tgz";
hash = "sha256-f0x561ehKw6uMSri0RZip+v1JHZuhixtywl0PVU/N44=";
hash = "sha256-0iFXYyGctOoHCdc232Ud80/wV81tiS7ItiS0uLKyq2Y=";
};
sourceRoot = "libffado-${version}/libffado";
prePatch = ''
substituteInPlace ./support/tools/ffado-diag.in \
--replace /lib/modules/ "/run/booted-system/kernel-modules/lib/modules/"