diff options
| author | Akshay Nair <phenax5@gmail.com> | 2025-03-22 17:17:15 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2025-03-22 18:26:37 +0530 |
| commit | 0d728071e3287a71ce7928640e63c19f4d0ab00f (patch) | |
| tree | d6e9fc90331e690dbc439e7ab8b9983df2d796a6 /flake.nix | |
| parent | f09f1aa704f06472ec134b40e2f69bf3279c3f06 (diff) | |
| download | null-browser-0d728071e3287a71ce7928640e63c19f4d0ab00f.tar.gz null-browser-0d728071e3287a71ce7928640e63c19f4d0ab00f.zip | |
Build fixes + formatting
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 31 |
1 files changed, 13 insertions, 18 deletions
@@ -2,14 +2,9 @@ inputs = { flake-utils.url = "github:numtide/flake-utils"; nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; - - lua-luv-source = { - url = "git+https://github.com/luvit/luv?submodules=1"; - flake = false; - }; }; - outputs = { self, nixpkgs, flake-utils, lua-luv-source, ... }: + outputs = { self, nixpkgs, flake-utils, ... }: flake-utils.lib.eachDefaultSystem (system: let pkgs = import nixpkgs { inherit system; }; @@ -19,32 +14,32 @@ luajit libuv luajitPackages.libluv - # luajitPackages.luv # libcef # nss ]; in { - packages.default = pkgs.stdenv.mkDerivation { - pname = "null-browser"; - version = "0.0.0"; - src = ./.; - - buildInputs = with pkgs; [ - qt6.qtbase - ] ++ dependencies; - nativeBuildInputs = with pkgs; [ cmake qt6.wrapQtAppsHook pkg-config ]; - }; - devShells.default = pkgs.mkShell rec { buildInputs = with pkgs; [ cmake gnumake clang-tools pkg-config + gdb # vcpkg ] ++ dependencies; LD_LIBRARY_PATH = "${pkgs.lib.makeLibraryPath buildInputs}"; }; + + packages.default = pkgs.stdenv.mkDerivation { + pname = "null-browser"; + version = "0.0.0"; + src = ./.; + + buildInputs = with pkgs; [ + qt6.qtbase + ] ++ dependencies; + nativeBuildInputs = with pkgs; [ cmake qt6.wrapQtAppsHook pkg-config ]; + }; }); } |
