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, lib,
buildNimPackage,
fetchFromGitHub, fetchFromGitHub,
buildNimPackage,
nim-2_0,
}: }:
let
buildNimPackage (finalAttrs: { 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";