nph: fix build with nim-2.0

This commit is contained in:
Daylin Morgan 2024-11-20 17:08:54 -06:00
parent f959feb88a
commit 618043c125
No known key found for this signature in database
GPG Key ID: 950D13E9719334AD

View File

@ -1,10 +1,16 @@
{
lib,
buildNimPackage,
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";