From 29c0b9ae453d77d9e7454aae2cfaf5d198917266 Mon Sep 17 00:00:00 2001 From: w4tsn Date: Mon, 17 Jun 2024 20:10:45 +0200 Subject: [PATCH] envs/infinisim: add libpng12 The optional feature to process images for the emulated storage uses libpng12. --- envs/infinisim/README.md | 2 ++ envs/infinisim/shell.nix | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/envs/infinisim/README.md b/envs/infinisim/README.md index 1749874..48341db 100644 --- a/envs/infinisim/README.md +++ b/envs/infinisim/README.md @@ -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`. diff --git a/envs/infinisim/shell.nix b/envs/infinisim/shell.nix index bd046d0..f82c3cb 100644 --- a/envs/infinisim/shell.nix +++ b/envs/infinisim/shell.nix @@ -1,6 +1,7 @@ -{ pkgs ? import {}, extraPkgs ? [] +{ + pkgs ? import {}, + extraPkgs ? [] }: - pkgs.mkShell { nativeBuildInputs = with pkgs; [ cmake @@ -9,6 +10,7 @@ pkgs.mkShell { libpng gcc12 ccache + libpng12 (python3.withPackages(python: [ python.pillow ]))