Skip to content

Commit

Permalink
Merge pull request #83 from FredeEB/master
Browse files Browse the repository at this point in the history
envs/yocto: add missing lz4c alias for scarthgap
  • Loading branch information
Mic92 authored Nov 15, 2024
2 parents 13c676d + 05742f7 commit 0046199
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion envs/infinitime/shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ pkgs.mkShell {
cmake
gcc10
adafruit-nrfutil
mcuboot-imgtool
(python3.withPackages(python: [
python.cbor
python.intelhex
python.click
python.cryptography
python.imgtool
python.pillow
]))
nodePackages.lv_font_conv
Expand Down
8 changes: 7 additions & 1 deletion envs/yocto/shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ let
configureFlags = old.configureFlags ++ [ "--with-termlib" ];
postFixup = "";
});
lz4' = pkgs.lz4.overrideAttrs
(old: {
postInstall = ''
ln -rs $out/bin/lz4 $out/bin/lz4c
'';
});
in
(with pkgs; [
attr
Expand All @@ -29,7 +35,7 @@ let
hostname
kconfig-frontends
libxcrypt
lz4
lz4'
# https://github.com/NixOS/nixpkgs/issues/218534
# postFixup would create symlinks for the non-unicode version but since it breaks
# in buildFHSUserEnv, we just install both variants
Expand Down

0 comments on commit 0046199

Please sign in to comment.