git.iko.soy/typeable/nixpkgs
on master help sign in
unixtools: fixup hexdump issue

utillinux puts everything in ".bin" output. We need to use lib.getBin to get it correctly.

commit293e18d9c4996f5884ceeda572927682591a9b2c authorMatthew Justin Bauer <mjbauer95@gmail.com> dateFri 13 Apr 2018, 11:10 (9 years ago) parentf1fb365
1 file changed+2−2
pkgs/top-level/unix-tools.nix+2−2
pkgs/top-level/unix-tools.nix+2−2
@@ -1,4 +1,4 @@
1−{ pkgs, buildEnv, runCommand, hostPlatform }:
1+{ pkgs, buildEnv, runCommand, hostPlatform, lib }:
22
33# These are some unix tools that are commonly included in the /usr/bin
44# and /usr/sbin directory under more normal distributions. Along with
@@ -13,7 +13,7 @@
1313let
1414
1515 singleBinary = cmd: providers: let
16− provider = "${providers.${hostPlatform.parsed.kernel.name} or "missing-package"}/bin/${cmd}";
16+ provider = "${lib.getBin providers.${hostPlatform.parsed.kernel.name}}/bin/${cmd}";
1717 in runCommand cmd {
1818 meta.platforms = map (n: { kernel.name = n; }) (pkgs.lib.attrNames providers);
1919 } ''