diff --git a/flake.nix b/flake.nix index 4cacbf960e..0cec7f8713 100644 --- a/flake.nix +++ b/flake.nix @@ -40,9 +40,17 @@ inherit inputs pkgs; modules = [ - { + ({ + pkgs, + config, + ... + }: { packages = with pkgs; [pre-commit poethepoet jupyter stdenv.cc.cc.lib zlib]; + env = { + QIBOLAB_PLATFORMS = (dirOf config.env.DEVENV_ROOT) + "/qibolab_platforms_qrc"; + }; + languages.c = { enable = true; }; @@ -66,7 +74,7 @@ enable = true; channel = "stable"; }; - } + }) ]; }; });