From 39dea4d3636b3162c7ff72977c25e7c713faade1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sun, 19 Jan 2025 13:00:31 +0100 Subject: Attempt to get Rpi to work --- pkgs/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'pkgs') diff --git a/pkgs/default.nix b/pkgs/default.nix index a984d9b..9ea9a99 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -37,6 +37,15 @@ final: prev: { zigbee2mqtt = prev.zigbee2mqtt.overrideAttrs { npmInstallFlags = ["--no-optional"]; # Fix cross build }; + ubootRaspberryPi3_btrfs = prev.buildUBoot { + defconfig = "rpi_3_defconfig"; + extraConfig = '' + CONFIG_FS_BTRFS=y + CONFIG_CMD_BTRFS=y + ''; + extraMeta.platforms = ["aarch64-linux"]; + filesToInstall = ["u-boot.bin"]; + }; # Older version of packages flac134 = prev.flac.overrideAttrs { -- cgit v1.2.3