lol

quickjs: 2021-12-09 -> 2024-01-13

NixOS 5d927392 2fe42ab7

+6 -8
+6 -8
pkgs/development/interpreters/quickjs/default.nix
··· 1 1 { lib 2 2 , stdenv 3 - , fetchFromGitHub 3 + , fetchurl 4 4 , texinfo 5 5 }: 6 6 7 7 stdenv.mkDerivation rec { 8 8 pname = "quickjs"; 9 - version = "2021-12-09"; 9 + version = "2024-01-13"; 10 10 11 - src = fetchFromGitHub { 12 - owner = "bellard"; 13 - repo = pname; 14 - rev = "daa35bc1e5d43192098af9b51caeb4f18f73f9f9"; 15 - hash = "sha256-BhAsa8tumCQ4jK/TbRbptj2iOIUFFjU1MQYdIrDMpko="; 11 + src = fetchurl { 12 + url = "https://bellard.org/quickjs/quickjs-${version}.tar.xz"; 13 + hash = "sha256-PEv4+JW/pUvrSGyNEhgRJ3Hs/FrDvhA2hR70FWghLgM="; 16 14 }; 17 15 18 16 postPatch = lib.optionalString stdenv.isDarwin '' 19 17 substituteInPlace Makefile --replace "CONFIG_LTO=y" "" 20 18 ''; 21 19 22 - makeFlags = [ "prefix=${placeholder "out"}" ]; 20 + makeFlags = [ "PREFIX=${placeholder "out"}" ]; 23 21 enableParallelBuilding = true; 24 22 25 23 nativeBuildInputs = [