diff options
author | Profpatsch <mail@profpatsch.de> | 2019-06-22 13:58:43 +0200 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2019-06-24 16:18:23 +0200 |
commit | 7251830bf1a472acafbe70506c49f6c594e642f7 (patch) | |
tree | dba179e11404edc1b9f09eed0bfad52d9f1ec28c /pkgs/tools/archivers | |
parent | 7bc2aaff0ed863308ed91b72226f8a2f49537d96 (diff) |
unp: remove unfree unrar from the default backend list
`unrar` is unfree, meaning `unp` cannot be built by default if `unrar`
is in its dependencies.
A simple
env NIXPKGS_ALLOW_UNFREE=1 nix-shell -p unrar
will make `unp` work with .rar files.
Diffstat (limited to 'pkgs/tools/archivers')
-rw-r--r-- | pkgs/tools/archivers/unp/default.nix | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/tools/archivers/unp/default.nix b/pkgs/tools/archivers/unp/default.nix index 106f75ab3769..6880a49b4db7 100644 --- a/pkgs/tools/archivers/unp/default.nix +++ b/pkgs/tools/archivers/unp/default.nix @@ -1,7 +1,11 @@ -{ stdenv, lib, fetchurl, makeWrapper, perl, unrar, unzip, gzip, file, extraBackends ? [] }: +{ stdenv, lib, fetchurl, makeWrapper, perl +, unzip, gzip, file +# extractors which are added to unp’s PATH +, extraBackends ? [] +}: let - runtime_bins = [ file unrar unzip gzip ] ++ extraBackends; + runtime_bins = [ file unzip gzip ] ++ extraBackends; in stdenv.mkDerivation rec { name = "unp-${version}"; |