Skip to content

Commit

Permalink
Add bc to nv_fuse_read.sh path
Browse files Browse the repository at this point in the history
The nv_fuse_read.sh shell script (in `l4t-tools`) expects `bc` to be in
PATH.
  • Loading branch information
jmbaur authored and danielfullmer committed Sep 23, 2024
1 parent 17635c8 commit 776c1d4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkgs/l4t/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
, gst_all_1
, gtk3
, libv4l
, makeWrapper
, bc
, debs
, l4tVersion
}:
Expand Down Expand Up @@ -361,11 +363,15 @@ let
# For tegrastats and jetson_clocks
l4t-tools = buildFromDeb {
name = "nvidia-l4t-tools";
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ stdenv.cc.cc.lib l4t-core ];
# Remove some utilities that bring in too many libraries
postPatch = ''
rm bin/nv_macsec_wpa_supplicant
'';
postFixup = ''
wrapProgram $out/bin/nv_fuse_read.sh --prefix PATH : ${lib.makeBinPath [ bc ]}
'';
};

l4t-wayland = buildFromDeb {
Expand Down

0 comments on commit 776c1d4

Please sign in to comment.