Skip to content

Commit

Permalink
Merge branch 'main' of github.com:codedownio/codedown-languages
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasjm committed Dec 12, 2024
2 parents 504833d + 6440e57 commit 8f4caf1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions modules/shells/zsh/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
let
extraPaths = lib.optionals (!stdenv.targetPlatform.isDarwin) [glibc.bin];

pathPrefixArg = if extraPaths == []
then ""
else "--prefix PATH : ${lib.makeBinPath extraPaths}";

in

stdenv.mkDerivation {
Expand Down Expand Up @@ -36,8 +40,7 @@ stdenv.mkDerivation {
# Source the user's .zshrc if present
echo "[ -f ~/.zshrc ] && source ~/.zshrc" >> .zshrc
makeWrapper ${zsh}/bin/zsh $out/bin/zsh-with-theme \
--prefix PATH : ${lib.makeBinPath extraPaths}
makeWrapper ${zsh}/bin/zsh $out/bin/zsh-with-theme ${pathPrefixArg} \
--set ZDOTDIR $out
'';

Expand Down
2 changes: 1 addition & 1 deletion sample_environments/mega.nix
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ codedown.makeEnvironment {
kernels.haskell.lsp.haskell-language-server.debug = true;

kernels.octave.enable = true;
kernels.octave.packages = ["arduino"];
kernels.octave.packages = ["doctest"];
kernels.octave.extraJupyterConfig = ''
c.OctaveKernel.plot_settings = dict(format='svg')
'';
Expand Down

0 comments on commit 8f4caf1

Please sign in to comment.