update nim-oriented overlays

This commit is contained in:
Daylin Morgan 2024-08-12 13:53:46 -05:00
parent 63490a3fdf
commit 643d4799bc
Signed by: daylin
GPG key ID: 950D13E9719334AD
2 changed files with 4 additions and 18 deletions

View file

@ -1,17 +1,15 @@
{ ... }:
(final: prev: {
nimble = prev.nimble.overrideNimAttrs {
version = "0.14.2-5e7901760e89108476a4e21976a0ef783403e8fe";
nimble = prev.nimble.overrideNimAttrs rec {
version = "0.16.0";
requiredNimVersion = 2;
buildInputs = [ prev.pkgs.openssl ];
src = final.fetchFromGitHub {
owner = "nim-lang";
repo = "nimble";
# most recent commit 2024-03-11
rev = "5e7901760e89108476a4e21976a0ef783403e8fe";
hash = "sha256-8b5yKvEl7c7wA/8cpdaN2CSvawQJzuRce6mULj3z/mI=";
rev = "v${version}";
hash = "sha256-nsQAUe+soRkWAFPYP5LftBCvQdkC1SpiIORscDsPQB4=";
};
};
})

View file

@ -1,12 +0,0 @@
{ ... }:
(final: prev: {
nimlsp = prev.nimlsp.overrideNimAttrs {
requiredNimVersion = 2;
nimFlags = [
"--threads:on"
""
"-d:explicitSourcePath=${final.srcOnly final.pkgs.nim-unwrapped-2}"
"-d:tempDir=/tmp"
];
};
})