We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 76f4031 commit a28318fCopy full SHA for a28318f
1 file changed
flake.nix
@@ -32,6 +32,22 @@
32
'';
33
};
34
35
+ luajit_openresty = pkgs.stdenv.mkDerivation {
36
+ name = "luajit-openresty";
37
+ src = pkgs.fetchgit {
38
+ url = "https://github.com/openresty/luajit2.git";
39
+ rev = "bee99fc60394fb85963c38af9106d3d144eb73e5";
40
+ sha256 = "sha256-JH9Iqmk8U0f4NxiTUC8wrR5KlxM4w/hXyrTSGYZHsQw=";
41
+ };
42
+
43
+ buildInputs = [pkgs.makeWrapper];
44
45
+ installPhase = ''
46
+ make install PREFIX=$out
47
+ ln -sf $out/bin/luajit-2.1.ROLLING $out/bin/luajit_openresty
48
+ '';
49
50
51
luajit_tarantool = pkgs.stdenv.mkDerivation {
52
name = "luajit-tarantool";
53
src = pkgs.fetchgit {
@@ -99,7 +115,7 @@
99
115
100
116
101
117
devShells.default = pkgs.mkShell {
102
- buildInputs = [luajit luajit_tarantool];
118
+ buildInputs = [luajit luajit_tarantool luajit_openresty];
103
119
104
120
}
105
121
);
0 commit comments