Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation for this change
On NixOS 18.09 (I don't think master behaves differently), running
hardinfo
from a terminal and accessing the "Summary" section under "Computer" will show an error in said terminal that accessing/lib/libc.so.6
failed.This PR fixes this by
substituteInPlace
ing the affected line with${stdenv.glibc.out}/lib/libc.so.6
(taken from other packages' solutions). The message goes away, though the report does not appear to have changed…There is another error message when accessing the Battery option under Devices, where it will repeatedly print
that I don't know how to fix, but it's more likely to get fixed in this much newer fork, problem being that there hasn't been a release since 0.5.1 in 2009 either because of some minor blockers.
Perhaps we should consider switching to that fork and pinning a recent commit like Ubuntu did instead of waiting for upstream to publish a new version after 10 years of code changes since 0.5.1.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)