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 # Core development utilites
(mkIf devel.core { (mkIf devel.core {
home.packages = with pkgs; home.packages = with pkgs;
appendIf # General packages
pkgs.stdenv.isLinux [
# General packages # Git addons
[ git-secret
# Git addons delta
git-secret # General development requirements
delta cmake
# General development requirements libtool
cmake gnumake
libtool nixpkgs-fmt
gnumake # sops for secrets management
nixpkgs-fmt sops
# sops for secrets management ];
sops
]
# Linux specific packages
[
clang
unstable.mold
];
programs = { programs = {
direnv = { direnv = {

View File

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