utillinux: make tests run, but disable
This commit is contained in:
@@ -22,6 +22,8 @@ in stdenv.mkDerivation rec {
|
|||||||
outputs = [ "bin" "dev" "out" "man" ];
|
outputs = [ "bin" "dev" "out" "man" ];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
patchShebangs tests/run.sh
|
||||||
|
|
||||||
substituteInPlace include/pathnames.h \
|
substituteInPlace include/pathnames.h \
|
||||||
--replace "/bin/login" "${shadow}/bin/login"
|
--replace "/bin/login" "${shadow}/bin/login"
|
||||||
substituteInPlace sys-utils/eject.c \
|
substituteInPlace sys-utils/eject.c \
|
||||||
@@ -54,6 +56,8 @@ in stdenv.mkDerivation rec {
|
|||||||
[ zlib pam ]
|
[ zlib pam ]
|
||||||
++ lib.filter (p: p != null) [ ncurses systemd perl ];
|
++ lib.filter (p: p != null) [ ncurses systemd perl ];
|
||||||
|
|
||||||
|
doCheck = false; # "For development purpose only. Don't execute on production system!"
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
rm "$bin/bin/su" # su should be supplied by the su package (shadow)
|
rm "$bin/bin/su" # su should be supplied by the su package (shadow)
|
||||||
'' + lib.optionalString minimal ''
|
'' + lib.optionalString minimal ''
|
||||||
|
|||||||
Reference in New Issue
Block a user