diff options
Diffstat (limited to 'home/profiles/development/default.nix')
-rw-r--r-- | home/profiles/development/default.nix | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/home/profiles/development/default.nix b/home/profiles/development/default.nix index 21ff03d..4bc761c 100644 --- a/home/profiles/development/default.nix +++ b/home/profiles/development/default.nix @@ -2,8 +2,6 @@ let cfg = config.profiles.development; - - inherit (self.packages.x86_64-linux) codelldb; in { options.profiles.development = { @@ -74,22 +72,22 @@ in ]; }; + programs.vscode = { + enable = if pkgs.stdenv.isDarwin then true else false; + extensions = with pkgs.vscode-extensions; [ + ]; + }; + home.packages = [ - pkgs.bandwhich pkgs.bfg-repo-cleaner pkgs.diffoscopeMinimal - # clangd - pkgs.clang-tools pkgs.du-dust - pkgs.dnsutils + # pkgs.dnsutils # Err on darwin # TODO: https://github.com/cli/cli/issues/4955 pkgs.gh - pkgs.ghc - pkgs.haskell-language-server pkgs.hyperfine pkgs.jq pkgs.lsof - pkgs.lldb pkgs.ouch pkgs.tcpdump pkgs.tokei @@ -101,17 +99,23 @@ in pkgs.rust-analyzer pkgs.sd pkgs.tig - pkgs.valgrind pkgs.xh - pkgs.cargo-play pkgs.cargo-edit pkgs.cargo-sort pkgs.cargo-diet pkgs.cargo-deny + pkgs.clang-tools + pkgs.lldb + pkgs.ghc + pkgs.stack + (pkgs.haskell-language-server.override { supportedGhcVersions = [ (builtins.replaceStrings [ "." ] [ "" ] pkgs.ghc.version) ]; }) + ] ++ pkgs.lib.optionals (pkgs.stdenv.isLinux) [ + # TODO: currently broken/doesn't support Darwin + pkgs.valgrind ]; - # home.file.".codelldb".source = pkgs.vscode-extensions.vadimcn.vscode-lldb; + nixpkgs.allowedUnfree = [ "vscode" ]; }; } |