rar: fix build on darwin

See https://github.com/NixOS/nixpkgs/pull/163924.
This commit is contained in:
Thiago Kenji Okada 2022-03-28 10:01:46 +01:00
parent 1188c14e06
commit b83c8aff1e

View file

@ -30,9 +30,10 @@ stdenv.mkDerivation rec {
dontBuild = true;
buildInputs = [ stdenv.cc.cc.lib ];
buildInputs = lib.optionals stdenv.isLinux [ stdenv.cc.cc.lib ];
nativeBuildInputs = [ autoPatchelfHook installShellFiles ];
nativeBuildInputs = [ installShellFiles ]
++ lib.optionals stdenv.isLinux [ autoPatchelfHook ];
installPhase = ''
runHook preInstall