diff options
author | Bob van der Linden | 2024-08-19 22:17:44 +0200 |
---|---|---|
committer | Bjørn Forsman | 2024-08-21 22:38:35 +0200 |
commit | f7193575e330d2b4fdd6b561cc094a2ffc829ca7 (patch) | |
tree | bd8aee91d65fc26ab23cdde8d56dfd904bc5be2f /pkgs/by-name/hw | |
parent | 250e30890d36934485aed1921dbdcd8abfd4f5e7 (diff) |
hwinfo: replace another /usr/ with $out
Diffstat (limited to 'pkgs/by-name/hw')
-rw-r--r-- | pkgs/by-name/hw/hwinfo/package.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/by-name/hw/hwinfo/package.nix b/pkgs/by-name/hw/hwinfo/package.nix index 3193d579f7f7..c0f30da26291 100644 --- a/pkgs/by-name/hw/hwinfo/package.nix +++ b/pkgs/by-name/hw/hwinfo/package.nix @@ -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 \ |