mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
xarchiver: replace unfree rar handler
Since version 0.5.4.11, Xarchiver supports using either unrar or unar to unpack .rar files. The former being released under an unfree license, using the latter by default is preferable. This avoids indirectly guarding the xarchiver package under `nixpkgs.config.allowUnfree` due to the dependency on unrar. Users who would like to use the unfree implementation may do so by adding the unrar package to the environment from which they are calling xarchiver.
This commit is contained in:
parent
d3ebf3bfa1
commit
f8d0efbf37
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
{ lib, stdenv, fetchFromGitHub, gtk3, pkg-config, intltool, libxslt, makeWrapper,
|
||||
coreutils, zip, unzip, p7zip, unrar, gnutar, bzip2, gzip, lhasa, wrapGAppsHook }:
|
||||
coreutils, zip, unzip, p7zip, unar, gnutar, bzip2, gzip, lhasa, wrapGAppsHook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "0.5.4.17";
|
||||
|
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
postFixup = ''
|
||||
wrapProgram $out/bin/xarchiver \
|
||||
--prefix PATH : ${lib.makeBinPath [ zip unzip p7zip unrar gnutar bzip2 gzip lhasa coreutils ]}
|
||||
--prefix PATH : ${lib.makeBinPath [ zip unzip p7zip unar gnutar bzip2 gzip lhasa coreutils ]}
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
|
Loading…
Reference in a new issue