From a87360859774ef63757d1b9a33a22708cfc53087 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Thu, 14 Nov 2024 15:16:26 -0600 Subject: [PATCH] use nixpkgs nimble --- modules/languages/nim.nix | 15 +++++---------- pkgs/default.nix | 6 +++--- 2 files changed, 8 insertions(+), 13 deletions(-) diff --git a/modules/languages/nim.nix b/modules/languages/nim.nix index bcbbb87..68bb4f3 100644 --- a/modules/languages/nim.nix +++ b/modules/languages/nim.nix @@ -2,7 +2,6 @@ config, lib, pkgs, - flake, ... }: let @@ -11,14 +10,10 @@ let in { config = mkIfIn "nim" cfg { - environment.systemPackages = - (with pkgs; [ - nim - ]) - ++ (with (flake.pkgs "self"); [ - nimlangserver - # nph - nimble - ]); + environment.systemPackages = with pkgs; [ + nim + nimble + nimlangserver + ]; }; } diff --git a/pkgs/default.nix b/pkgs/default.nix index cbfaa74..dc28975 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -2,9 +2,9 @@ let inherit (pkgs) python3Packages; in { - nph = pkgs.callPackage ./nim/nph { }; # doesn't compile with 2.2.0 :/ - nimlangserver = pkgs.callPackage ./nim/nimlangserver { }; - nimble = pkgs.callPackage ./nim/nimble { }; + # nph = pkgs.callPackage ./nim/nph { }; # doesn't compile with 2.2.0 :/ + # nimlangserver = pkgs.callPackage ./nim/nimlangserver { }; + # nimble = pkgs.callPackage ./nim/nimble { }; distrobox = pkgs.callPackage ./distrobox {}; llm = python3Packages.callPackage ./llm {}; llm-claude-3 = python3Packages.callPackage ./llm-plugins/llm-claude-3 {};