From e5eb11ad0423bfdfd4056964ef868e26b2d3c846 Mon Sep 17 00:00:00 2001 From: Mihai Fufezan Date: Wed, 27 Dec 2023 20:27:54 +0200 Subject: [PATCH] Nix: wrap with gcc This ensures the function hook can assemble. --- nix/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nix/default.nix b/nix/default.nix index 4b1be0e2..751457ca 100644 --- a/nix/default.nix +++ b/nix/default.nix @@ -132,7 +132,11 @@ assert lib.assertMsg (!hidpiXWayland) "The option `hidpiXWayland` has been remov ln -s ${wlroots}/include/wlr $dev/include/hyprland/wlroots ${lib.optionalString wrapRuntimeDeps '' wrapProgram $out/bin/Hyprland \ - --suffix PATH : ${lib.makeBinPath [binutils pciutils]} + --suffix PATH : ${lib.makeBinPath [ + stdenv.cc + binutils + pciutils + ]} ''} '';