mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-02 17:05:58 +01:00
Nix: disable fortify for devshell (#4463)
This disables '_FORTIFY_SOURCE' Werrors trying to compile wlroots. Long standing issue in https://github.com/NixOS/nixpkgs/issues/60919 afaik. After this change you should be able to: ``` nix develop mmeson setup build -Dbuildtype=debug ninja -C build ```
This commit is contained in:
parent
3c964a9fdc
commit
8342bac697
1 changed files with 1 additions and 0 deletions
|
@ -86,6 +86,7 @@
|
||||||
name = "hyprland-shell";
|
name = "hyprland-shell";
|
||||||
nativeBuildInputs = with pkgsFor.${system}; [cmake python3];
|
nativeBuildInputs = with pkgsFor.${system}; [cmake python3];
|
||||||
buildInputs = [self.packages.${system}.wlroots-hyprland];
|
buildInputs = [self.packages.${system}.wlroots-hyprland];
|
||||||
|
hardeningDisable = [ "fortify" ];
|
||||||
inputsFrom = [
|
inputsFrom = [
|
||||||
self.packages.${system}.wlroots-hyprland
|
self.packages.${system}.wlroots-hyprland
|
||||||
self.packages.${system}.hyprland
|
self.packages.${system}.hyprland
|
||||||
|
|
Loading…
Reference in a new issue