diff options
Diffstat (limited to 'pkgs/tools/archivers/rar/default.nix')
-rw-r--r-- | pkgs/tools/archivers/rar/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/tools/archivers/rar/default.nix b/pkgs/tools/archivers/rar/default.nix index a359beb21adf5..5a0d7e51e727b 100644 --- a/pkgs/tools/archivers/rar/default.nix +++ b/pkgs/tools/archivers/rar/default.nix @@ -32,7 +32,8 @@ stdenv.mkDerivation rec { buildInputs = [ stdenv.cc.cc.lib ]; - nativeBuildInputs = [ autoPatchelfHook installShellFiles ]; + nativeBuildInputs = [ installShellFiles ] + ++ lib.optional stdenv.isLinux autoPatchelfHook; installPhase = '' runHook preInstall |