diff --git a/pkgs/applications/emulators/wine/winetricks.nix b/pkgs/applications/emulators/wine/winetricks.nix index 609aadfb0fc5..76a3eef7a497 100644 --- a/pkgs/applications/emulators/wine/winetricks.nix +++ b/pkgs/applications/emulators/wine/winetricks.nix @@ -11,13 +11,13 @@ gnugrep, gnused, gnutar, - unrar-free, gzip, p7zip, perl, unzip, which, zenity, + unrar-free, versionCheckHook, }: @@ -33,29 +33,13 @@ stdenv.mkDerivation rec { makeWrapper ]; - # coreutils is for sha1sum - pathAdd = lib.makeBinPath [ - perl - which - coreutils - zenity - curl - cabextract - unzip - p7zip - gnused - gnugrep - bash - gawk - gnutar - gzip - unrar-free - ]; - makeFlags = [ "PREFIX=$(out)" ]; doCheck = false; # requires "bashate" + doInstallCheck = true; + nativeInstallCheckInputs = [ versionCheckHook ]; + postPatch = '' patchShebangs src/winetricks substituteInPlace src/winetricks \