From c0f4ab0f39072dd2d822d4f7191a4b50b41547a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ab=C3=ADlio=20Costa?= Date: Sun, 25 Feb 2024 23:45:22 +0000 Subject: [PATCH 1/3] Fix home-assistant dependencies --- envs/home-assistant/shell.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/envs/home-assistant/shell.nix b/envs/home-assistant/shell.nix index 0956e4b..5ab0574 100644 --- a/envs/home-assistant/shell.nix +++ b/envs/home-assistant/shell.nix @@ -15,7 +15,9 @@ pkgs.mkShell { ]; # fix homeassistant-pyozw build NIX_CFLAGS_COMPILE = [ "-Wno-error=format-security" ]; + LD_LIBRARY_PATH = lib.makeLibraryPath [ pkgs.stdenv.cc.cc ]; buildInputs = with pkgs; [ + gcc libxml2 openssl libxslt From 8699329d4d6c4d5a6aa44b59c4afd208c573dbea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ab=C3=ADlio=20Costa?= Date: Sun, 25 Feb 2024 23:48:52 +0000 Subject: [PATCH 2/3] Update shell.nix --- envs/home-assistant/shell.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/envs/home-assistant/shell.nix b/envs/home-assistant/shell.nix index 5ab0574..bdb8eb3 100644 --- a/envs/home-assistant/shell.nix +++ b/envs/home-assistant/shell.nix @@ -15,7 +15,7 @@ pkgs.mkShell { ]; # fix homeassistant-pyozw build NIX_CFLAGS_COMPILE = [ "-Wno-error=format-security" ]; - LD_LIBRARY_PATH = lib.makeLibraryPath [ pkgs.stdenv.cc.cc ]; + LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath [ pkgs.stdenv.cc.cc ]; buildInputs = with pkgs; [ gcc libxml2 From 611ab49e46460a09e3ed3c8a65a3041d31ec5510 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ab=C3=ADlio=20Costa?= Date: Sat, 9 Mar 2024 01:06:56 +0000 Subject: [PATCH 3/3] Remove GCC --- envs/home-assistant/shell.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/envs/home-assistant/shell.nix b/envs/home-assistant/shell.nix index bdb8eb3..57386f7 100644 --- a/envs/home-assistant/shell.nix +++ b/envs/home-assistant/shell.nix @@ -17,7 +17,6 @@ pkgs.mkShell { NIX_CFLAGS_COMPILE = [ "-Wno-error=format-security" ]; LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath [ pkgs.stdenv.cc.cc ]; buildInputs = with pkgs; [ - gcc libxml2 openssl libxslt