mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
hardinfo2: fix path in service
This commit is contained in:
@@ -143,7 +143,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath finalAttrs.runtimeLibs}
|
||||
|
||||
substituteInPlace $out/lib/systemd/system/hardinfo2.service \
|
||||
--replace-fail "ExecStart=/usr/bin/hwinfo2_fetch_sysdata" "ExecStart=$out/hwinfo2_fetch_sysdata"
|
||||
--replace-fail "ExecStart=/usr/bin/hwinfo2_fetch_sysdata" "ExecStart=$out/bin/hwinfo2_fetch_sysdata"
|
||||
'';
|
||||
|
||||
# account for tags having a release- prefix
|
||||
|
||||
Reference in New Issue
Block a user