switched from the current system to the booted one

Signed-off-by: Michal Minář <mic.liamg@gmail.com>
This commit is contained in:
Michal Minář 2020-03-23 10:03:36 +01:00
parent bb317ecbc6
commit 22327eab2d

@ -33,8 +33,7 @@ mkDerivation rec {
prePatch = ''
substituteInPlace ./support/tools/ffado-diag.in \
--replace /lib/modules/ "${kernel.dev}/lib/modules/" \
--replace 'stdout ("uname", "-r").rstrip ()' '"${kernel.modDirVersion}"'
--replace /lib/modules/ "/run/booted-system/kernel-modules/lib/modules/"
'';
patches = [