Merge pull request #251767 from schuelermine/patch/nano/enable-magic
nano: add file as a dependency to allow libmagic usage
This commit is contained in:
commit
8cdfcca014
|
@ -1,6 +1,6 @@
|
|||
{ lib, stdenv, fetchurl, fetchFromGitHub, ncurses, texinfo, writeScript
|
||||
, common-updater-scripts, git, nix, nixfmt, coreutils, gnused, callPackage
|
||||
, gettext ? null, enableNls ? true, enableTiny ? false }:
|
||||
, file ? null, gettext ? null, enableNls ? true, enableTiny ? false }:
|
||||
|
||||
assert enableNls -> (gettext != null);
|
||||
|
||||
|
@ -22,7 +22,7 @@ in stdenv.mkDerivation rec {
|
|||
};
|
||||
|
||||
nativeBuildInputs = [ texinfo ] ++ lib.optional enableNls gettext;
|
||||
buildInputs = [ ncurses ];
|
||||
buildInputs = [ ncurses ] ++ lib.optional (!enableTiny) file;
|
||||
|
||||
outputs = [ "out" "info" ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue