Skip to content

Commit

Permalink
[Backport release-24.05] linux-firmware: fix build when cross-compili…
Browse files Browse the repository at this point in the history
…ng (#354376)
  • Loading branch information
K900 authored Nov 8, 2024
2 parents 4b84260 + f4ae669 commit 4bc273a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkgs/os-specific/linux/firmware/linux-firmware/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{ stdenvNoCC
, fetchzip
, findutils
, lib
, python3
, rdfind
Expand All @@ -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
Expand Down

0 comments on commit 4bc273a

Please sign in to comment.