Make quarto and uv available directly in dev shell

Co-authored-by: dwinkler1 <22460147+dwinkler1@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2026-01-13 10:14:44 +00:00
commit 8efae381e9

View file

@ -202,10 +202,16 @@
# Development shell configuration # Development shell configuration
devShells = forSystems (system: let devShells = forSystems (system: let
pkgs = import nixpkgs {inherit system;}; pkgs = import nixpkgs {inherit system;};
# Language-specific packages that should be available in shell
languagePackages = with pkgs;
[]
++ (if config.enabledLanguages.r then [quarto] else [])
++ (if config.enabledLanguages.python then [uv] else [])
++ (if config.enabledLanguages.julia then [] else []);
in { in {
default = pkgs.mkShell { default = pkgs.mkShell {
name = config.defaultPackageName; name = config.defaultPackageName;
packages = [projectConfig.${system}.default]; packages = [projectConfig.${system}.default] ++ languagePackages;
inputsFrom = []; inputsFrom = [];
# Welcome message when entering the shell # Welcome message when entering the shell
shellHook = import ./lib/shell-hook.nix config pkgs; shellHook = import ./lib/shell-hook.nix config pkgs;