summary refs log tree commit diff
path: root/pkgs/os-specific/linux/util-linux/default.nix
diff options
context:
space:
mode:
authorMichael Raskin <7c6f434c@mail.ru>2018-08-11 16:34:22 +0000
committerGitHub <noreply@github.com>2018-08-11 16:34:22 +0000
commita68e5e918e52f1b45a13c585f6b015a254e94f18 (patch)
tree6e825fe861796e75ddf87da42d3f63c4c4889b88 /pkgs/os-specific/linux/util-linux/default.nix
parentb9c8d68452aca58f4588788b78ec2e255f5b6192 (diff)
parent35c9435d15b31bdfc000d67670b7ac58dca30c4e (diff)
downloadnixpkgs-a68e5e918e52f1b45a13c585f6b015a254e94f18.tar
nixpkgs-a68e5e918e52f1b45a13c585f6b015a254e94f18.tar.gz
nixpkgs-a68e5e918e52f1b45a13c585f6b015a254e94f18.tar.bz2
nixpkgs-a68e5e918e52f1b45a13c585f6b015a254e94f18.tar.lz
nixpkgs-a68e5e918e52f1b45a13c585f6b015a254e94f18.tar.xz
nixpkgs-a68e5e918e52f1b45a13c585f6b015a254e94f18.tar.zst
nixpkgs-a68e5e918e52f1b45a13c585f6b015a254e94f18.zip
Merge pull request #44825 from oxij/docheck/continues-in-a-big-way
treewide: enable working, fix fixable, disable broken tests
Diffstat (limited to 'pkgs/os-specific/linux/util-linux/default.nix')
-rw-r--r--pkgs/os-specific/linux/util-linux/default.nix4
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 55673ccf013..3602b772183 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 ''