Unverified Commit 293e18d9 authored by Matthew Justin Bauer's avatar Matthew Justin Bauer Committed by GitHub
Browse files

unixtools: fixup hexdump issue

utillinux puts everything in ".bin" output. We need to use lib.getBin to get it correctly.
parent f1fb3651
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
{ pkgs, buildEnv, runCommand, hostPlatform }:
{ pkgs, buildEnv, runCommand, hostPlatform, lib }:

# These are some unix tools that are commonly included in the /usr/bin
# and /usr/sbin directory under more normal distributions. Along with
@@ -13,7 +13,7 @@
let

  singleBinary = cmd: providers: let
      provider = "${providers.${hostPlatform.parsed.kernel.name} or "missing-package"}/bin/${cmd}";
      provider = "${lib.getBin providers.${hostPlatform.parsed.kernel.name}}/bin/${cmd}";
    in runCommand cmd {
      meta.platforms = map (n: { kernel.name = n; }) (pkgs.lib.attrNames providers);
    } ''