lomiri.deviceinfo: Fix references variable in pkg-config

This commit is contained in:
OPNA2608 2024-04-12 17:01:15 +02:00
parent 7523091d97
commit 33fc340c95

View file

@ -27,6 +27,12 @@ stdenv.mkDerivation (finalAttrs: {
"bin"
];
postPatch = ''
# For our automatic pkg-config output patcher to work, prefix must be used here
substituteInPlace headers/deviceinfo.pc.in \
--replace-fail 'libdir=''${exec_prefix}' 'libdir=''${prefix}'
'';
strictDeps = true;
nativeBuildInputs = [