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,8 +10,6 @@ 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
pkgs.stdenv.isLinux
# General packages # General packages
[ [
# Git addons # Git addons
@ -24,11 +22,6 @@ with lib; with nLib; {
nixpkgs-fmt nixpkgs-fmt
# sops for secrets management # sops for secrets management
sops sops
]
# Linux specific packages
[
clang
unstable.mold
]; ];
programs = { programs = {

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; [