Skip to content

Commit

Permalink
Merge pull request #256 from jmbaur/lz4-fix
Browse files Browse the repository at this point in the history
flash-tools: add back missing lz4c program
  • Loading branch information
danielfullmer authored Dec 18, 2024
2 parents abfe7f4 + 20328be commit bc47712
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions pkgs/flash-tools/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
, openssl
, bspSrc
, l4tVersion
,
, symlinkJoin
}:

let
Expand Down Expand Up @@ -121,13 +121,22 @@ let
python3
util-linux
dosfstools
lz4
bc
openssl

# Needed by bootloader/tegraflash_impl_t234.py
gcc
dtc

# flash.sh wants lz4c, which used to be a symlink to lz4, but does not
# exist in more recent nixpkgs.
(symlinkJoin {
inherit (lz4) name;
paths = [ (lib.getBin lz4) ];
postBuild = ''
ln -sf $out/bin/lz4{,c}
'';
})
];
};

Expand Down

0 comments on commit bc47712

Please sign in to comment.