From 067dd243eef419472a179f7cf0ec0f8bf6999667 Mon Sep 17 00:00:00 2001 From: Nathan McCarty Date: Sun, 4 Sep 2022 03:33:35 -0400 Subject: [PATCH] make mold linux specific --- home-manager/common/programs/devel.nix | 33 ++++++++++---------------- home-manager/linux/programs/devel.nix | 9 +++++++ 2 files changed, 22 insertions(+), 20 deletions(-) diff --git a/home-manager/common/programs/devel.nix b/home-manager/common/programs/devel.nix index dddc263..fca5c70 100644 --- a/home-manager/common/programs/devel.nix +++ b/home-manager/common/programs/devel.nix @@ -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 = { diff --git a/home-manager/linux/programs/devel.nix b/home-manager/linux/programs/devel.nix index 2ac95ba..01b0a4e 100644 --- a/home-manager/linux/programs/devel.nix +++ b/home-manager/linux/programs/devel.nix @@ -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; [