nph: fix build with nim-2.0 (#357703)
This commit is contained in:
@@ -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";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user