mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-22 06:00:45 -06:00
fix nph version
This commit is contained in:
parent
3a5410f68b
commit
42e9583808
2 changed files with 12 additions and 6 deletions
|
@ -6,7 +6,6 @@ let
|
||||||
inherit (lib)
|
inherit (lib)
|
||||||
genAttrs
|
genAttrs
|
||||||
pkgFromSystem
|
pkgFromSystem
|
||||||
pkgsFromSystem
|
|
||||||
loadOverlays
|
loadOverlays
|
||||||
;
|
;
|
||||||
|
|
||||||
|
@ -46,7 +45,7 @@ let
|
||||||
oizys-nim = pkgs.callPackage ../pkgs/oizys-nim { };
|
oizys-nim = pkgs.callPackage ../pkgs/oizys-nim { };
|
||||||
oizys-go = pkgs.callPackage ../pkgs/oizys { };
|
oizys-go = pkgs.callPackage ../pkgs/oizys { };
|
||||||
# nimlangserver = pkgs.callPackage ../pkgs/nimlangserver { };
|
# nimlangserver = pkgs.callPackage ../pkgs/nimlangserver { };
|
||||||
# nph = pkgs.callPackage ../pkgs/nph { };
|
nph = pkgs.callPackage ../pkgs/nph { };
|
||||||
iso = mkIso.config.system.build.isoImage;
|
iso = mkIso.config.system.build.isoImage;
|
||||||
# roc = (pkgsFromSystem pkgs.system "roc").full;
|
# roc = (pkgsFromSystem pkgs.system "roc").full;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,7 @@
|
||||||
{ fetchFromGitHub, buildNimPackage }:
|
{
|
||||||
|
fetchFromGitHub,
|
||||||
|
buildNimPackage,
|
||||||
|
}:
|
||||||
buildNimPackage (finalAttrs: {
|
buildNimPackage (finalAttrs: {
|
||||||
pname = "nph";
|
pname = "nph";
|
||||||
version = "0.6.0";
|
version = "0.6.0";
|
||||||
|
@ -8,7 +11,11 @@ buildNimPackage (finalAttrs: {
|
||||||
rev = "v${finalAttrs.version}";
|
rev = "v${finalAttrs.version}";
|
||||||
hash = "sha256-9t5VeGsxyytGdu7+Uv/J+x6bmeB5+eQapbyp30iPxqs=";
|
hash = "sha256-9t5VeGsxyytGdu7+Uv/J+x6bmeB5+eQapbyp30iPxqs=";
|
||||||
};
|
};
|
||||||
|
# replace gorge(git...) call to for version
|
||||||
|
patchPhase = ''
|
||||||
|
runHook prePatch
|
||||||
|
sed -i 's/Version = gorge(.*/Version = """v${finalAttrs.version}\n"""/' src/nph.nim
|
||||||
|
runHook postPatch
|
||||||
|
'';
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
}
|
})
|
||||||
)
|
|
||||||
|
|
Loading…
Reference in a new issue