use nixpkgs nimble

This commit is contained in:
Daylin Morgan 2024-11-14 15:16:26 -06:00
parent 0534193e15
commit a873608597
Signed by: daylin
GPG key ID: 950D13E9719334AD
2 changed files with 8 additions and 13 deletions

View file

@ -2,7 +2,6 @@
config, config,
lib, lib,
pkgs, pkgs,
flake,
... ...
}: }:
let let
@ -11,14 +10,10 @@ let
in in
{ {
config = mkIfIn "nim" cfg { config = mkIfIn "nim" cfg {
environment.systemPackages = environment.systemPackages = with pkgs; [
(with pkgs; [ nim
nim nimble
]) nimlangserver
++ (with (flake.pkgs "self"); [ ];
nimlangserver
# nph
nimble
]);
}; };
} }

View file

@ -2,9 +2,9 @@
let inherit (pkgs) python3Packages; let inherit (pkgs) python3Packages;
in in
{ {
nph = pkgs.callPackage ./nim/nph { }; # doesn't compile with 2.2.0 :/ # nph = pkgs.callPackage ./nim/nph { }; # doesn't compile with 2.2.0 :/
nimlangserver = pkgs.callPackage ./nim/nimlangserver { }; # nimlangserver = pkgs.callPackage ./nim/nimlangserver { };
nimble = pkgs.callPackage ./nim/nimble { }; # nimble = pkgs.callPackage ./nim/nimble { };
distrobox = pkgs.callPackage ./distrobox {}; distrobox = pkgs.callPackage ./distrobox {};
llm = python3Packages.callPackage ./llm {}; llm = python3Packages.callPackage ./llm {};
llm-claude-3 = python3Packages.callPackage ./llm-plugins/llm-claude-3 {}; llm-claude-3 = python3Packages.callPackage ./llm-plugins/llm-claude-3 {};