mirror of
https://github.com/daylinmorgan/oizys.git
synced 2025-01-06 08:50:45 -06:00
fix nph
This commit is contained in:
parent
317e2d5696
commit
b6bfe83c83
3 changed files with 11 additions and 3 deletions
|
@ -13,9 +13,10 @@ in
|
|||
config = mkIfIn "nim" cfg {
|
||||
environment.systemPackages = with pkgs; [
|
||||
nim
|
||||
# nimble
|
||||
nimlangserver
|
||||
|
||||
(flake.pkgs "self").nimble
|
||||
(flake.pkgs "self").nph
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -3,7 +3,7 @@ let
|
|||
inherit (pkgs) python3Packages;
|
||||
in
|
||||
{
|
||||
# nph = pkgs.callPackage ./nim/nph { }; # doesn't compile with 2.2.0 :/
|
||||
nph = pkgs.callPackage ./nim/nph { };
|
||||
# nimlangserver = pkgs.callPackage ./nim/nimlangserver { };
|
||||
nimble = pkgs.callPackage ./nim/nimble { };
|
||||
|
||||
|
|
|
@ -1,8 +1,15 @@
|
|||
{
|
||||
fetchFromGitHub,
|
||||
buildNimPackage,
|
||||
nim-2_0,
|
||||
}:
|
||||
buildNimPackage (finalAttrs: {
|
||||
let
|
||||
buildNimPackage' = buildNimPackage.override {
|
||||
# Do not build with Nim-2.2.x.
|
||||
nim2 = nim-2_0;
|
||||
};
|
||||
in
|
||||
buildNimPackage' (finalAttrs: {
|
||||
pname = "nph";
|
||||
version = "0.6.0";
|
||||
src = fetchFromGitHub {
|
||||
|
|
Loading…
Reference in a new issue