Merge pull request #44825 from oxij/docheck/continues-in-a-big-way

treewide: enable working, fix fixable, disable broken tests
This commit is contained in:
Michael Raskin
2018-08-11 16:34:22 +00:00
committed by GitHub
127 changed files with 596 additions and 221 deletions
@@ -22,6 +22,8 @@ in stdenv.mkDerivation rec {
outputs = [ "bin" "dev" "out" "man" ];
postPatch = ''
patchShebangs tests/run.sh
substituteInPlace include/pathnames.h \
--replace "/bin/login" "${shadow}/bin/login"
substituteInPlace sys-utils/eject.c \
@@ -54,6 +56,8 @@ in stdenv.mkDerivation rec {
[ zlib pam ]
++ lib.filter (p: p != null) [ ncurses systemd perl ];
doCheck = false; # "For development purpose only. Don't execute on production system!"
postInstall = ''
rm "$bin/bin/su" # su should be supplied by the su package (shadow)
'' + lib.optionalString minimal ''