lol
at 24.05-pre 20 lines 660 B view raw
1{ self, callPackage, fetchFromGitHub, lib, passthruFun }: 2 3callPackage ./default.nix rec { 4 # The patch version is the timestamp of the git commit, 5 # obtain via `cat $(nix-build -A luajit_2_0.src)/.relver` 6 version = "2.0.1693340858"; 7 8 src = fetchFromGitHub { 9 owner = "LuaJIT"; 10 repo = "LuaJIT"; 11 rev = "c6ee7e19d107b4f9a140bb2ccf99162e26318c69"; 12 hash = "sha256-3/7ASZRniytw5RkOy0F9arHkZevq6dxmya+Ba3A5IIA="; 13 }; 14 15 extraMeta = { # this isn't precise but it at least stops the useless Hydra build 16 platforms = with lib; filter (p: !hasPrefix "aarch64-" p) 17 (platforms.linux ++ platforms.darwin); 18 }; 19 inherit self passthruFun; 20}