aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--flake.nix15
1 files changed, 7 insertions, 8 deletions
diff --git a/flake.nix b/flake.nix
index 3626549..3d06d0d 100644
--- a/flake.nix
+++ b/flake.nix
@@ -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 {