make mold linux specific

This commit is contained in:
Nathan McCarty 2022-09-04 03:33:35 -04:00
parent 8f938e3755
commit 067dd243ee
Signed by: thatonelutenist
GPG Key ID: D70DA3DD4D1E9F96
2 changed files with 22 additions and 20 deletions

View File

@ -10,26 +10,19 @@ with lib; with nLib; {
# Core development utilites
(mkIf devel.core {
home.packages = with pkgs;
appendIf
pkgs.stdenv.isLinux
# General packages
[
# Git addons
git-secret
delta
# General development requirements
cmake
libtool
gnumake
nixpkgs-fmt
# sops for secrets management
sops
]
# Linux specific packages
[
clang
unstable.mold
];
# General packages
[
# Git addons
git-secret
delta
# General development requirements
cmake
libtool
gnumake
nixpkgs-fmt
# sops for secrets management
sops
];
programs = {
direnv = {

View File

@ -7,6 +7,15 @@ in
with lib; with nLib; {
config = mkMerge [
# Core development utilites
(mkIf devel.core {
home.packages = with pkgs;
# Linux specific packages
[
clang
unstable.mold
];
})
# JVM Development
(mkIf devel.jvm {
home.packages = with unstable; [