mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-05 01:53:15 -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)
|
||||
genAttrs
|
||||
pkgFromSystem
|
||||
pkgsFromSystem
|
||||
loadOverlays
|
||||
;
|
||||
|
||||
|
@ -46,7 +45,7 @@ let
|
|||
oizys-nim = pkgs.callPackage ../pkgs/oizys-nim { };
|
||||
oizys-go = pkgs.callPackage ../pkgs/oizys { };
|
||||
# nimlangserver = pkgs.callPackage ../pkgs/nimlangserver { };
|
||||
# nph = pkgs.callPackage ../pkgs/nph { };
|
||||
nph = pkgs.callPackage ../pkgs/nph { };
|
||||
iso = mkIso.config.system.build.isoImage;
|
||||
# roc = (pkgsFromSystem pkgs.system "roc").full;
|
||||
}
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
{ fetchFromGitHub, buildNimPackage }:
|
||||
{
|
||||
fetchFromGitHub,
|
||||
buildNimPackage,
|
||||
}:
|
||||
buildNimPackage (finalAttrs: {
|
||||
pname = "nph";
|
||||
version = "0.6.0";
|
||||
|
@ -8,7 +11,11 @@ buildNimPackage (finalAttrs: {
|
|||
rev = "v${finalAttrs.version}";
|
||||
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;
|
||||
}
|
||||
)
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue