tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
quickjs: 2021-12-09 -> 2024-01-13
NixOS
2 years ago
5d927392
2fe42ab7
+6
-8
1 changed file
expand all
collapse all
unified
split
pkgs
development
interpreters
quickjs
default.nix
+6
-8
pkgs/development/interpreters/quickjs/default.nix
reviewed
···
1
1
{ lib
2
2
, stdenv
3
3
-
, fetchFromGitHub
3
3
+
, fetchurl
4
4
, texinfo
5
5
}:
6
6
7
7
stdenv.mkDerivation rec {
8
8
pname = "quickjs";
9
9
-
version = "2021-12-09";
9
9
+
version = "2024-01-13";
10
10
11
11
-
src = fetchFromGitHub {
12
12
-
owner = "bellard";
13
13
-
repo = pname;
14
14
-
rev = "daa35bc1e5d43192098af9b51caeb4f18f73f9f9";
15
15
-
hash = "sha256-BhAsa8tumCQ4jK/TbRbptj2iOIUFFjU1MQYdIrDMpko=";
11
11
+
src = fetchurl {
12
12
+
url = "https://bellard.org/quickjs/quickjs-${version}.tar.xz";
13
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
22
-
makeFlags = [ "prefix=${placeholder "out"}" ];
20
20
+
makeFlags = [ "PREFIX=${placeholder "out"}" ];
23
21
enableParallelBuilding = true;
24
22
25
23
nativeBuildInputs = [