From 63e27615b5a0850e045c9f404e0157764be90112 Mon Sep 17 00:00:00 2001 From: "Rph :3" <11350302+rphsoftware@users.noreply.github.com> Date: Thu, 3 Apr 2025 22:07:10 +0200 Subject: [PATCH] flake update --- flake.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 61c3b7e..f2a614d 100644 --- a/flake.nix +++ b/flake.nix @@ -14,7 +14,6 @@ }; native-deps = with pkgs; [ pkg-config pipewire lld clang libclang alsa-lib openssl taglib zlib libxkbcommon libGL wayland mangohud - pkgs.pkgsCross.mingwW64.buildPackages.gcc ]; in with pkgs; @@ -26,8 +25,10 @@ targets = ["x86_64-unknown-linux-gnu" "x86_64-pc-windows-gnu"]; }) cargo-bloat + pkgs.pkgsCross.mingwW64.buildPackages.gcc ] ++ native-deps; LD_LIBRARY_PATH = (lib.makeLibraryPath native-deps); + CARGO_TARGET_X86_64_PC_WINDOWS_GNU_RUSTFLAGS = "-L native=${pkgs.pkgsCross.mingwW64.windows.pthreads}/lib"; }; } );