Skip to content

Commit

Permalink
feat(nix): Export convenience env var
Browse files Browse the repository at this point in the history
  • Loading branch information
alecandido committed Jan 25, 2024
1 parent 2b96468 commit 3052158
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
Expand All @@ -66,7 +74,7 @@
enable = true;
channel = "stable";
};
}
})
];
};
});
Expand Down

0 comments on commit 3052158

Please sign in to comment.