hwinfo: replace another /usr/ with $out

This commit is contained in:
Bob van der Linden
2024-08-21 22:38:35 +02:00
committed by Bjørn Forsman
parent 250e30890d
commit f7193575e3
+2
View File
@@ -41,6 +41,8 @@ stdenv.mkDerivation (finalAttrs: {
--replace-fail "lex isdn_cdb.lex" "flex isdn_cdb.lex"
substituteInPlace hwinfo.pc.in \
--replace-fail "prefix=/usr" "prefix=$out"
substituteInPlace src/isdn/cdb/cdb_hwdb.h \
--replace-fail "/usr/share" "$out/share"
# replace absolute paths with relative, we will prefix PATH later
substituteInPlace src/hd/hd_int.h \