forked from rarias/bscpkgs
Fix Nanos6 4.0 build
It looks like after upgrading the compiler the build breaks. The patch simply adds the missing cstdint include, until a new release is made. Reviewed-by: Aleix Roca Nonell <aleix.rocanonell@bsc.es> Tested-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
This commit is contained in:
@@ -35,6 +35,10 @@ let
|
||||
rev = "version-${version}";
|
||||
hash = "sha256-o2j7xNufdjcWykbwDDHQYxYCs4kpyQvJnuFyeXYZULw=";
|
||||
};
|
||||
patches = [
|
||||
# https://pm.bsc.es/gitlab/nanos6/nanos6/-/issues/185
|
||||
./0001-Add-missing-cstdint-include.patch
|
||||
];
|
||||
};
|
||||
|
||||
git = rec {
|
||||
@@ -48,9 +52,8 @@ let
|
||||
|
||||
source = if (useGit) then git else release;
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (source // rec {
|
||||
pname = "nanos6";
|
||||
inherit (source) src version;
|
||||
|
||||
prePatch = ''
|
||||
patchShebangs scripts/generate_config.sh
|
||||
@@ -114,4 +117,4 @@ in
|
||||
platforms = platforms.linux;
|
||||
license = licenses.gpl3;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user