dotfiles/nixos/code.nix

64 lines
890 B
Nix
Raw Normal View History

{ pkgs, config, makeEnable, ... }:
makeEnable config "modules.code" true {
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
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
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
nil
] ++ (if pkgs.system == "x86_64-linux" then with pkgs; [
2023-08-19 14:55:09 -06:00
# purescript
purescript
# Broken
# spago
2023-08-19 14:55:09 -06:00
] else []);
2021-07-11 04:19:34 -06:00
}