diff options
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 23 |
1 files changed, 20 insertions, 3 deletions
@@ -9,11 +9,23 @@ let pkgs = import nixpkgs { inherit system; }; + lua-libluv = with pkgs; luajitPackages.libluv.overrideAttrs (self: rec { + version = "1.50.0-1"; + knownRockspec = (fetchurl { + url = "mirror://luarocks/luv-${version}.rockspec"; + sha256 = "sha256-IL2EejtmT0pw0cAupMz0gvP3a19NPsc45W1RaoeGJgY="; + }).outPath; + src = fetchurl { + url = "https://github.com/luvit/luv/releases/download/${version}/luv-${version}.tar.gz"; + sha256 = "sha256-2GfDAk2cmB1U8u3YPhP9bcEVjwYIY197HA9rVYa1vDQ="; + }; + }); + dependencies = with pkgs; [ qt6.full luajit libuv - luajitPackages.libluv + lua-libluv # libcef # nss ]; @@ -25,7 +37,7 @@ clang-tools pkg-config gdb - # vcpkg + valgrind ] ++ dependencies; LD_LIBRARY_PATH = "${pkgs.lib.makeLibraryPath buildInputs}"; @@ -39,7 +51,12 @@ buildInputs = with pkgs; [ qt6.qtbase ] ++ dependencies; - nativeBuildInputs = with pkgs; [ cmake qt6.wrapQtAppsHook pkg-config ]; + + nativeBuildInputs = with pkgs; [ + cmake + qt6.wrapQtAppsHook + pkg-config + ]; }; }); } |
