diff options
| author | Akshay Nair <phenax5@gmail.com> | 2025-04-06 20:23:55 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2025-04-06 20:23:55 +0530 |
| commit | 85a2c290f922f648e5e9f0e69c03116f2d0aeaa6 (patch) | |
| tree | 0aff3bd3cda13a626615931c1a2829baee717ff2 /flake.nix | |
| parent | bbde1438e9c31cc83d8c4835ea97a0eaeae4e192 (diff) | |
| download | null-browser-85a2c290f922f648e5e9f0e69c03116f2d0aeaa6.tar.gz null-browser-85a2c290f922f648e5e9f0e69c03116f2d0aeaa6.zip | |
Change build setup to install lua prefix correctly + static build libluv
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 15 |
1 files changed, 7 insertions, 8 deletions
@@ -8,16 +8,15 @@ flake-utils.lib.eachDefaultSystem (system: let pkgs = import nixpkgs { inherit system; config.allowUnsupportedSystem = true; }; + inherit (pkgs) pkgsStatic; - myPkgs = with pkgs; { + myPkgs = { libuv = pkgsStatic.libuv; luajit = pkgsStatic.luajit; - qt = qt6; # pkgsStatic.qt6 - lua-libluv = lua-libluv; - }; - - lua-libluv = pkgs.callPackage (import ./nix/libluv.nix) { - inherit (myPkgs) libuv luajit; + qt = pkgs.qt6; # pkgsStatic.qt6 + lua-libluv = pkgs.callPackage (import ./nix/libluv.nix) { + inherit (myPkgs) libuv luajit; + }; }; dependencies = [ @@ -41,7 +40,7 @@ nativeBuildInputs = with pkgs; [gobject-introspection]; LD_LIBRARY_PATH = "${pkgs.lib.makeLibraryPath buildInputs}"; - FOOBARITY = "${lua-libluv}"; + FOOBARITY = "${myPkgs.lua-libluv}"; }; packages.default = pkgs.stdenv.mkDerivation { |
