Skip to content

Commit

Permalink
Merge pull request #74 from w4tsn/infinisim-add-libpng12
Browse files Browse the repository at this point in the history
envs/infinisim: add libpng12
  • Loading branch information
Mic92 authored Jun 18, 2024
2 parents c8c756b + 29c0b9a commit 26a903f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions envs/infinisim/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ $ cmake --build build -j6
By default the build uses a version of the [InfiniTime sources](https://github.com/InfiniTimeOrg/InfiniTime) in `./InfiniTime` as git submodule. You might want to delete this submodule and use a symlink to a local version of InfiniTime or update the submodule to track your own fork of InfiniTime.

Further build instructions: https://github.com/InfiniTimeOrg/InfiniSim/blob/main/README.md

This `shell.nix` works with `direnv`.
6 changes: 4 additions & 2 deletions envs/infinisim/shell.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{ pkgs ? import <nixpkgs> {}, extraPkgs ? []
{
pkgs ? import <nixpkgs> {},
extraPkgs ? []
}:

pkgs.mkShell {
nativeBuildInputs = with pkgs; [
cmake
Expand All @@ -9,6 +10,7 @@ pkgs.mkShell {
libpng
gcc12
ccache
libpng12
(python3.withPackages(python: [
python.pillow
]))
Expand Down

0 comments on commit 26a903f

Please sign in to comment.