blob: 9ad3099143c8dd7ff95d427c9987fdddb9ce58ba (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
{ self, callPackage, fetchFromGitHub, lib, passthruFun }:
callPackage ./default.nix {
# The patch version is the timestamp of the git commit,
# obtain via `cat $(nix-build -A luajit_2_0.src)/.relver`
version = "2.0.1713483859";
src = fetchFromGitHub {
owner = "LuaJIT";
repo = "LuaJIT";
rev = "9b5e837ac2dfdc0638830c048a47ca9378c504d3";
hash = "sha256-GflF/sELSNanc9G4WMzoOadUBOFSs6OwqhAXa4sudWA=";
};
extraMeta = {
# this isn't precise but it at least stops the useless Hydra build
platforms = with lib; filter (p: !hasPrefix "aarch64-" p)
(platforms.linux ++ platforms.darwin);
};
inherit self passthruFun;
}
|