util-linux: fix rtcwake(8) to search $PATH for shutdown(8)

This makes "rtcwake -m off" actually work on NixOS without breaking it
on other platforms.
This commit is contained in:
Tobias Geerinckx-Rice
2015-01-01 22:23:22 +01:00
parent 6dc71c19b0
commit 14eff8f7fa
2 changed files with 32 additions and 0 deletions
@@ -8,6 +8,8 @@ stdenv.mkDerivation rec {
sha256 = "e0457f715b73f4a349e1acb08cb410bf0edc9a74a3f75c357070f31f70e33cd6";
};
patches = [ ./rtcwake-search-PATH-for-shutdown.patch ];
crossAttrs = {
# Work around use of `AC_RUN_IFELSE'.
preConfigure = "export scanf_cv_type_modifier=ms";