utillinux: make tests run, but disable
This commit is contained in:
parent
c74e59511d
commit
7cd8fdbf63
|
@ -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 ''
|
||||
|
|
Loading…
Reference in a new issue