From 041f8933be28d0fcff1196792f30c5ca3176c155 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sun, 16 Mar 2025 15:28:00 +0530 Subject: Add configuration class --- flake.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index ed3f539..d22ef72 100644 --- a/flake.nix +++ b/flake.nix @@ -8,7 +8,7 @@ flake-utils.lib.eachDefaultSystem (system: let pkgs = import nixpkgs { inherit system; }; - packages = with pkgs; [ + dependencies = with pkgs; [ pkg-config qt6.full qt6.qtbase @@ -22,7 +22,7 @@ version = "0.0.0"; src = ./.; - buildInputs = packages; + buildInputs = dependencies; nativeBuildInputs = with pkgs; [ cmake qt6.wrapQtAppsHook ]; }; @@ -31,7 +31,8 @@ cmake gnumake clang-tools - ] ++ packages; + ] ++ dependencies; + LD_LIBRARY_PATH = "${pkgs.lib.makeLibraryPath buildInputs}"; }; }); -- cgit v1.3.1