Update Nanos6 to 4.2

Reviewed-by: Aleix Roca Nonell <aleix.rocanonell@bsc.es>
This commit is contained in:
Rodrigo Arias 2024-11-18 17:04:23 +01:00
parent b006538147
commit b442ddf1a4

View File

@ -19,7 +19,7 @@
, useGit ? false , useGit ? false
, gitUrl ? "ssh://git@bscpm03.bsc.es/nanos6/nanos6" , gitUrl ? "ssh://git@bscpm03.bsc.es/nanos6/nanos6"
, gitBranch ? "master" , gitBranch ? "master"
, gitCommit ? "4fdddf67b573fbe624bf64b92c0a9b4e344b9dd3" , gitCommit ? "9f54c988e0a8b9c011d9d526acdb8d76f18fcae4"
}: }:
assert enableJemalloc -> (jemallocNanos6 != null); assert enableJemalloc -> (jemallocNanos6 != null);
@ -28,17 +28,13 @@ with lib;
let let
release = rec { release = rec {
version = "4.0"; version = "4.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "bsc-pm"; owner = "bsc-pm";
repo = "nanos6"; repo = "nanos6";
rev = "version-${version}"; rev = "version-${version}";
hash = "sha256-o2j7xNufdjcWykbwDDHQYxYCs4kpyQvJnuFyeXYZULw="; hash = "sha256-tBrRGLCjSFYdmVGPAC2DzYY6HJyZGUOMeykujafn7+4=";
}; };
patches = [
# https://pm.bsc.es/gitlab/nanos6/nanos6/-/issues/185
./0001-Add-missing-cstdint-include.patch
];
}; };
git = rec { git = rec {