diff options
| author | Akshay Nair <phenax5@gmail.com> | 2025-03-23 16:59:16 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2025-03-23 16:59:34 +0530 |
| commit | 18b3e4939931c0d2bf779d2e52cb0c90e282ec97 (patch) | |
| tree | e9afabef77660b8cfcd8a37006c9db38c4bc8aa6 /flake.nix | |
| parent | 1f018902a8e1d1138c9a56106bce7aa7982a247b (diff) | |
| download | null-browser-18b3e4939931c0d2bf779d2e52cb0c90e282ec97.tar.gz null-browser-18b3e4939931c0d2bf779d2e52cb0c90e282ec97.zip | |
Fix segfault with evaluate, add keymap accidentally popping wrong value
+ add demnu config.lua example
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 + ]; }; }); } |
