2023-08-20 04:25:58 -06:00
|
|
|
{ pkgs, config, makeEnable, ... }:
|
|
|
|
makeEnable config "modules.code" true {
|
2023-07-27 21:40:47 -06:00
|
|
|
programs.direnv = {
|
|
|
|
enable = true;
|
|
|
|
nix-direnv.enable = true;
|
|
|
|
};
|
|
|
|
|
2021-07-11 04:19:34 -06:00
|
|
|
environment.systemPackages = with pkgs; [
|
2023-08-07 21:52:51 -06:00
|
|
|
# C
|
|
|
|
clang
|
|
|
|
|
2021-07-11 04:19:34 -06:00
|
|
|
# Haskell
|
|
|
|
cabal-install
|
|
|
|
cabal2nix
|
|
|
|
ghc
|
|
|
|
haskellPackages.hpack
|
|
|
|
haskellPackages.hasktags
|
|
|
|
haskellPackages.hoogle
|
|
|
|
|
|
|
|
# Scala
|
|
|
|
sbt
|
|
|
|
scala
|
|
|
|
|
|
|
|
# Node
|
|
|
|
nodePackages.npm
|
|
|
|
nodejs
|
|
|
|
|
2023-07-31 08:15:16 -06:00
|
|
|
# Typescript
|
|
|
|
typescript
|
|
|
|
nodePackages.typescript-language-server
|
|
|
|
|
2023-11-16 01:59:31 -07:00
|
|
|
# golang
|
|
|
|
go
|
|
|
|
|
2021-07-11 04:19:34 -06:00
|
|
|
# Rust
|
2023-06-28 22:27:09 -06:00
|
|
|
rustup
|
2021-07-11 04:19:34 -06:00
|
|
|
|
|
|
|
# Clojure
|
|
|
|
boot
|
|
|
|
leiningen
|
|
|
|
|
|
|
|
# Ruby
|
|
|
|
ruby
|
|
|
|
|
2023-03-30 13:11:07 -06:00
|
|
|
# python
|
|
|
|
poetry
|
2023-08-07 15:57:47 -06:00
|
|
|
black
|
2023-03-30 13:11:07 -06:00
|
|
|
|
2021-07-11 04:19:34 -06:00
|
|
|
# dhall
|
|
|
|
haskellPackages.dhall
|
|
|
|
haskellPackages.dhall-json
|
2023-05-14 15:15:21 -06:00
|
|
|
|
|
|
|
# misc
|
|
|
|
perf-tools
|
2023-06-28 22:27:09 -06:00
|
|
|
protobuf
|
2023-08-05 14:02:15 -06:00
|
|
|
|
|
|
|
# nix
|
|
|
|
nixd
|
2023-08-05 17:49:31 -06:00
|
|
|
nil
|
2023-12-16 13:46:53 -07:00
|
|
|
alejandra
|
2023-08-19 17:11:20 -06:00
|
|
|
] ++ (if pkgs.system == "x86_64-linux" then with pkgs; [
|
2023-08-19 14:55:09 -06:00
|
|
|
# purescript
|
|
|
|
purescript
|
2023-08-19 17:11:20 -06:00
|
|
|
# Broken
|
|
|
|
# spago
|
2023-08-19 14:55:09 -06:00
|
|
|
] else []);
|
2021-07-11 04:19:34 -06:00
|
|
|
}
|