From 723c7efa327dbaeece28a7e001034f76bc50d5f7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lars=20Sj=C3=B6strom?= <lars@radicore.se>
Date: Wed, 12 Mar 2025 14:38:01 +0100
Subject: [PATCH] chore(debug-tools): more tools for the people :rocket:

---
 flake.nix | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/flake.nix b/flake.nix
index 1276c0c..ed21385 100644
--- a/flake.nix
+++ b/flake.nix
@@ -57,12 +57,18 @@
                 { drv = pkgs.keyutils; path = "bin/keyctl"; }
                 { drv = pkgs.gnutar; path = "bin/tar"; }
                 { drv = patosPkgs.tpm2-tools; path = "bin/tpm2"; }
+                { drv = patosPkgs.openssl; path = "usr/bin/openssl"; destpath = "bin/openssl"; }
                 { drv = pkgs.cryptsetup; path = "bin/cryptsetup"; }
                 { drv = pkgs.cryptsetup; path = "bin/veritysetup"; }
+                { drv = pkgs.erofs-utils; path = "bin/mkfs.erofs"; }
                 # shared lib required for cryptsetup
                 { drv = pkgs.popt; path = "lib/libpopt.so.0.0.2"; }
                 { drv = pkgs.popt; path = "lib/libpopt.so.0"; }
                 { drv = pkgs.popt; path = "lib/libpopt.so"; }
+                # shared lib required for mkfs.erofs
+                { drv = pkgs.lz4.lib; path = "lib/liblz4.so.1.10.0"; }
+                { drv = pkgs.lz4.lib; path = "lib/liblz4.so.1"; }
+                { drv = pkgs.lz4.lib; path = "lib/liblz4.so"; }
             ];
           };
         };