wiki/shell.nix

34 lines
508 B
Nix
Raw Normal View History

2022-04-01 08:37:05 +00:00
{ pkgs ? import <nixpkgs> { } }:
let
python3WithPackages = pkgs.python3.withPackages(p:
with pkgs.python3Packages; [
pynvim
2022-04-01 08:37:05 +00:00
jupyter
black
]);
in
pkgs.mkShell {
buildInputs = with pkgs; [
2022-04-01 08:37:05 +00:00
flow
gcc
gnumake
gnuplot
graphviz
jq
lilypond
libcs50
2022-04-01 08:37:05 +00:00
nodejs-16_x
octaveFull
python3WithPackages
racket
R
recoll
# A bunch of formatters...
stylua # ...for Lua.
rustfmt # ...for Rust.
nixpkgs-fmt # ...for Nix.
];
}