Unverified Commit ae25233c authored by K900's avatar K900 Committed by GitHub
Browse files

linux-firmware: fix build when cross-compiling (#349895)

parents 67f803dc e3371313
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
{ stdenvNoCC
, fetchzip
, findutils
, lib
, python3
, rdfind
@@ -13,7 +12,7 @@ let
  # in a perfectly pristine tree, so we can fake just enough of git to run it.
  gitStub = writeShellScriptBin "git" ''
    if [ "$1" == "ls-files" ]; then
      ${lib.getExe findutils} -type f -printf "%P\n"
      find -type f -printf "%P\n"
    else
      echo "Git stub called with unexpected arguments $@" >&2
      exit 1