Nix: wrap with gcc

This ensures the function hook can assemble.
This commit is contained in:
Mihai Fufezan 2023-12-27 20:27:54 +02:00
parent e75dafd8b2
commit e5eb11ad04
No known key found for this signature in database

View File

@ -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
]}
''}
'';