mirror of
https://github.com/daylinmorgan/oizys.git
synced 2025-01-07 17:37:32 -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 {
|
config = mkIfIn "nim" cfg {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
nim
|
nim
|
||||||
# nimble
|
|
||||||
nimlangserver
|
nimlangserver
|
||||||
|
|
||||||
(flake.pkgs "self").nimble
|
(flake.pkgs "self").nimble
|
||||||
|
(flake.pkgs "self").nph
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@ let
|
||||||
inherit (pkgs) python3Packages;
|
inherit (pkgs) python3Packages;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
# nph = pkgs.callPackage ./nim/nph { }; # doesn't compile with 2.2.0 :/
|
nph = pkgs.callPackage ./nim/nph { };
|
||||||
# nimlangserver = pkgs.callPackage ./nim/nimlangserver { };
|
# nimlangserver = pkgs.callPackage ./nim/nimlangserver { };
|
||||||
nimble = pkgs.callPackage ./nim/nimble { };
|
nimble = pkgs.callPackage ./nim/nimble { };
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,15 @@
|
||||||
{
|
{
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
buildNimPackage,
|
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";
|
pname = "nph";
|
||||||
version = "0.6.0";
|
version = "0.6.0";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
|
|
Loading…
Reference in a new issue