2020-01-12 23:11:02 -08:00
|
|
|
# modules/dev/cc.nix --- C & C++
|
|
|
|
#
|
|
|
|
# I love C. I tolerate C++. I adore C with a few choice C++ features tacked on.
|
|
|
|
# Liking C/C++ seems to be an unpopular opinion. It's my guilty secret, so don't
|
|
|
|
# tell anyone pls.
|
2019-08-06 10:56:54 -07:00
|
|
|
|
2020-01-12 23:11:02 -08:00
|
|
|
{ pkgs, ... }:
|
2019-08-06 10:56:54 -07:00
|
|
|
{
|
|
|
|
imports = [ ./. ];
|
|
|
|
|
2020-01-12 15:17:17 -08:00
|
|
|
my.packages = with pkgs; [
|
2019-08-06 10:56:54 -07:00
|
|
|
clang
|
|
|
|
gcc
|
2020-01-12 16:47:33 -08:00
|
|
|
bear
|
|
|
|
gdb
|
2019-08-06 10:56:54 -07:00
|
|
|
cmake
|
2020-01-12 15:17:17 -08:00
|
|
|
llvmPackages.libcxx
|
2020-01-12 16:47:33 -08:00
|
|
|
ccls
|
2019-08-06 10:56:54 -07:00
|
|
|
];
|
|
|
|
}
|