mirror of
https://github.com/dwinkler1/np.git
synced 2026-02-19 22:40:57 -05:00
Make quarto and uv available directly in dev shell
Co-authored-by: dwinkler1 <22460147+dwinkler1@users.noreply.github.com>
This commit is contained in:
parent
3777ab0c91
commit
8efae381e9
1 changed files with 7 additions and 1 deletions
|
|
@ -202,10 +202,16 @@
|
|||
# Development shell configuration
|
||||
devShells = forSystems (system: let
|
||||
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 {
|
||||
default = pkgs.mkShell {
|
||||
name = config.defaultPackageName;
|
||||
packages = [projectConfig.${system}.default];
|
||||
packages = [projectConfig.${system}.default] ++ languagePackages;
|
||||
inputsFrom = [];
|
||||
# Welcome message when entering the shell
|
||||
shellHook = import ./lib/shell-hook.nix config pkgs;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue