diff options
author | Jan Malakhovski <oxij@oxij.org> | 2018-08-08 21:28:37 +0000 |
---|---|---|
committer | Jan Malakhovski <oxij@oxij.org> | 2018-08-11 09:35:32 +0000 |
commit | 7cd8fdbf631e58332af64fe96910056fe5314dbc (patch) | |
tree | 823d1f4448f1bb03bf82d34aa7f70fc5419f9d54 /pkgs/os-specific/linux/util-linux/default.nix | |
parent | c74e59511d71ff220b5473a34ce31c5e58d3d2e7 (diff) | |
download | nixpkgs-7cd8fdbf631e58332af64fe96910056fe5314dbc.tar nixpkgs-7cd8fdbf631e58332af64fe96910056fe5314dbc.tar.gz nixpkgs-7cd8fdbf631e58332af64fe96910056fe5314dbc.tar.bz2 nixpkgs-7cd8fdbf631e58332af64fe96910056fe5314dbc.tar.lz nixpkgs-7cd8fdbf631e58332af64fe96910056fe5314dbc.tar.xz nixpkgs-7cd8fdbf631e58332af64fe96910056fe5314dbc.tar.zst nixpkgs-7cd8fdbf631e58332af64fe96910056fe5314dbc.zip |
utillinux: make tests run, but disable
Diffstat (limited to 'pkgs/os-specific/linux/util-linux/default.nix')
-rw-r--r-- | pkgs/os-specific/linux/util-linux/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/util-linux/default.nix b/pkgs/os-specific/linux/util-linux/default.nix index 1a7232afedb..f8a5f201bf9 100644 --- a/pkgs/os-specific/linux/util-linux/default.nix +++ b/pkgs/os-specific/linux/util-linux/default.nix @@ -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 '' |