Merge pull request #318159 from r-ryantm/auto-update/quickjs-ng

quickjs-ng: 0.4.1 -> 0.5.0
This commit is contained in:
Weijia Wang 2024-07-03 00:16:48 +02:00 committed by GitHub
commit a88b2956c9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,13 +8,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "quickjs-ng";
version = "0.4.1";
version = "0.5.0";
src = fetchFromGitHub {
owner = "quickjs-ng";
repo = "quickjs";
rev = "v${finalAttrs.version}";
hash = "sha256-mo+YBhaCqGRWfVRvZCD0iB2pd/DsHsfWGFeFxwwyxPk=";
hash = "sha256-4CC7IxA5t+L99H4Rvkx0xkXFHuqNP3HTmS46JEuy7Vs=";
};
outputs = [ "bin" "out" "dev" "doc" "info" ];
@ -29,6 +29,10 @@ stdenv.mkDerivation (finalAttrs: {
(lib.cmakeBool "BUILD_STATIC_QJS_EXE" stdenv.hostPlatform.isStatic)
];
env.NIX_CFLAGS_COMPILE = toString (lib.optionals (stdenv.isLinux && stdenv.isAarch64) [
"-Wno-error=stringop-overflow"
]);
postInstall = ''
(cd ../doc
makeinfo --output quickjs.info quickjs.texi