diff --git a/pkgs/l4t/default.nix b/pkgs/l4t/default.nix index 4dac708..02eabd2 100644 --- a/pkgs/l4t/default.nix +++ b/pkgs/l4t/default.nix @@ -19,6 +19,8 @@ , gst_all_1 , gtk3 , libv4l +, makeWrapper +, bc , debs , l4tVersion }: @@ -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 {