1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 06:31:02 +00:00

diffoscope: Use bin outputs of dependencies

All of the dependencies listed here are used via command-line tools. So
use getBin to avoid unnecessarily depending on development headers.
This commit is contained in:
Tuomas Tynkkynen 2016-09-19 15:47:40 +03:00
parent bb19e17d14
commit 5a6d6d4451

View file

@ -30,9 +30,9 @@ pythonPackages.buildPythonApplication rec {
# Also these libraries: python3-guestfs
# FIXME: move xxd into a separate package so we don't have to pull in all of vim.
propagatedBuildInputs = (with pythonPackages; [ debian libarchive-c python_magic tlsh ]) ++
[ acl binutils bzip2 cbfstool cdrkit cpio diffutils e2fsprogs file gettext
map lib.getBin ([ acl binutils bzip2 cbfstool cdrkit cpio diffutils e2fsprogs file gettext
gzip libcaca poppler_utils rpm sng sqlite squashfsTools unzip vim xz
] ++ lib.optionals enableBloat [ colord fpc ghc gnupg1 jdk mono pdftk ];
] ++ lib.optionals enableBloat [ colord fpc ghc gnupg1 jdk mono pdftk ]);
doCheck = false; # Calls 'mknod' in squashfs tests, which needs root