1
0
Fork 0

tools/nix: fix wasptool

Fixes "ImportError: cannot import name GLib, introspection typelib not found"

Signed-off-by: Francesco Gazzetta <fgaz@fgaz.me>
This commit is contained in:
Francesco Gazzetta 2024-09-25 18:39:13 +02:00 committed by Daniel Thompson
parent 6e1c422ff9
commit bf07f0cf55

View file

@ -6,6 +6,9 @@ let
ifLinux = pkgs.lib.optionals pkgs.stdenv.isLinux; ifLinux = pkgs.lib.optionals pkgs.stdenv.isLinux;
in pkgs.mkShell { in pkgs.mkShell {
buildInputs = ifLinux [
pkgs.gobject-introspection
];
nativeBuildInputs = [ nativeBuildInputs = [
(pkgs.python3.withPackages (pp: with pp; [ (pkgs.python3.withPackages (pp: with pp; [
cbor cbor