From 9e6145c031b47fc37398b80dec1b4dfc0cfb5183 Mon Sep 17 00:00:00 2001 From: sefidel Date: Fri, 9 Sep 2022 17:49:03 +0900 Subject: milestone: darwin! feat(darwin/kompakt)!: support darwin chore: reformat feat(home/o32): manage neovim feat(home/development): fix haskell lsp version mismatch feat(darwin/*): stabilise --- packages/darwin.nix | 5 +++++ packages/default.nix | 15 --------------- packages/linux.nix | 15 +++++++++++++++ 3 files changed, 20 insertions(+), 15 deletions(-) create mode 100644 packages/darwin.nix delete mode 100644 packages/default.nix create mode 100644 packages/linux.nix (limited to 'packages') diff --git a/packages/darwin.nix b/packages/darwin.nix new file mode 100644 index 0000000..a7c91dc --- /dev/null +++ b/packages/darwin.nix @@ -0,0 +1,5 @@ +{ self, neovim, ... } @ inputs: + +{ + "neovim" = neovim.packages.aarch64-darwin.neovim; +} diff --git a/packages/default.nix b/packages/default.nix deleted file mode 100644 index 89cd404..0000000 --- a/packages/default.nix +++ /dev/null @@ -1,15 +0,0 @@ -{ self, neovim, ... } @ inputs: - -let - pkgs = inputs.unstable.legacyPackages.x86_64-linux; - vscode-lldb = pkgs.vscode-extensions.vadimcn.vscode-lldb; -in - -{ - "neovim" = neovim.packages.x86_64-linux.neovim; - # "codelldb" = pkgs.writeScriptBin "codelldb" '' - # ${vscode-lldb}/share/vscode/extensions/vadimcn.vscode-lldb/adapter/.codelldb-wrapped_ \ - # --liblldb ${vscode-lldb}/share/vscode/extensions/vadimcn.vscode-lldb/lldb/lib/liblldb.so $@ - # ''; - "athens" = pkgs.callPackage ./athens.nix { }; -} diff --git a/packages/linux.nix b/packages/linux.nix new file mode 100644 index 0000000..89cd404 --- /dev/null +++ b/packages/linux.nix @@ -0,0 +1,15 @@ +{ self, neovim, ... } @ inputs: + +let + pkgs = inputs.unstable.legacyPackages.x86_64-linux; + vscode-lldb = pkgs.vscode-extensions.vadimcn.vscode-lldb; +in + +{ + "neovim" = neovim.packages.x86_64-linux.neovim; + # "codelldb" = pkgs.writeScriptBin "codelldb" '' + # ${vscode-lldb}/share/vscode/extensions/vadimcn.vscode-lldb/adapter/.codelldb-wrapped_ \ + # --liblldb ${vscode-lldb}/share/vscode/extensions/vadimcn.vscode-lldb/lldb/lib/liblldb.so $@ + # ''; + "athens" = pkgs.callPackage ./athens.nix { }; +} -- cgit 1.4.1