mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
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.
This commit is contained in:
parent
7bc2aaff0e
commit
7251830bf1
@ -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}";
|
||||
|
Loading…
Reference in New Issue
Block a user