!UUYziobKGGxpovWyAN:nixos.org

Robotnix

237 Members
Build Android (AOSP) using Nix | https://github.com/danielfullmer/robotnix73 Servers

Load older messages


SenderMessageTime
5 Aug 2025
@cyclopentane:aidoskyneen.eupentane ⭔Yeah, it was a pain20:00:28
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneIt's the same story with a lot of embedded stuff though20:01:54
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zonelike Zephyr and West20:02:00
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneAnd they're always so proud when they reinvent the wheel 20:02:26
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zonehttps://docs.zephyrproject.org/latest/develop/west/index.html20:02:57
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zone"meta-tool"20:03:07
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneAs if calling something a meta tool, makes it any easier to understand 20:03:23
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zone

Oh my god.. At the bottom of the page:

Zephyr is an English name for the Latin Zephyrus, the ancient Greek god of the west wind.

20:04:53
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneWhy do they do this 20:04:57
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneThey philosophise so much.. think so big.. and the end result is some buggy over-engineered nightmare 20:05:10
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zone* They philosophize so much.. think so big.. and the end result is some buggy over-engineered nightmare 20:05:16
@atemu12:matrix.orgatemu12Can you please keep it on-topic?20:06:08
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneYeah sorry20:06:15
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zone
error: Cannot build '/nix/store/qmximns6m4rb6zm8ayhpmrdvm2j5006p-aws-sdk-java-v2-4b4fafe.drv'.
       Reason: builder failed with exit code 1.
       Output paths:
         /nix/store/1d3k2ks8h4ky672nn9q8prx2wrnflxc6-aws-sdk-java-v2-4b4fafe
       Last 18 log lines:
       > exporting https://android.googlesource.com/platform/external/aws-sdk-java-v2 (rev 4b4fafefcbed63e78902f1bcdce7907908c908d8) into /nix/store/1d3k2ks8h4ky672nn9q8prx2wrnflxc6-aws-sdk-java-v2-4b4fafe
       > Git LFS initialized.
       > Initialized empty Git repository in /nix/store/1d3k2ks8h4ky672nn9q8prx2wrnflxc6-aws-sdk-java-v2-4b4fafe/.git/
       > error: RPC failed; HTTP 429 curl 22 The requested URL returned error: 429
       > fatal: expected flush after ref listing
       > error: RPC failed; HTTP 429 curl 22 The requested URL returned error: 429
       > fatal: expected flush after ref listing
20:06:31
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneIs there an easy way around the rate limits?20:06:38
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneYou can't perform a build of robotnix from scratch without hitting them20:06:53
@cyclopentane:aidoskyneen.eupentane ⭔none that I know of, either throttle your own connection or reduce the number of simultaneous builds ig20:07:15
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneYeah.. throttling own connection. Rate limits are an interesting impurity that isn't handled in nixpkgs at all basically20:07:47
@cyclopentane:aidoskyneen.eupentane ⭔occasionally, I also rotated through some Mullvad proxies to avoid the ratelimit20:07:50
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneLike all fetchers would need to implement this if it were to be supported20:07:55
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneI reckon they should tbh 20:08:15
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneThe android development experience lol20:08:56
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zone
error: build of '/nix/store/zx5j26wynm41bwkjr21hdkcy222lgsx7-device=xiaomi=sdm710-common-patched.drv' on 'ssh-ng://nix-ssh@swordfish' failed: Cannot build '/nix/store/zx5j26wynm41bwkjr21hdkcy222lgsx7-device=xiaomi=sdm710-common-patched.drv'.
       Reason: builder failed with exit code 1.
       Output paths:
         /nix/store/66wblg9v5dwwbqky9fgn810c3ldslshh-device=xiaomi=sdm710-common-patched
       Last 6 log lines:
       > Applying /nix/store/c1qqsffljczccv1641vn87a7al2xmpyl-system_partition_size.patch
       > patching file BoardConfigCommon.mk
       > Reversed (or previously applied) patch detected!  Assume -R? [n]
       > Apply anyway? [n]
       > Skipping patch.
       > 1 out of 1 hunk ignored -- saving rejects to file BoardConfigCommon.mk.rej
       For full logs, run:
         nix log /nix/store/zx5j26wynm41bwkjr21hdkcy222lgsx7-device=xiaomi=sdm710-common-patched.drv
20:10:05
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneInteresting!20:10:06
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zone
  source.dirs."device/xiaomi/sdm710-common".patches = [
    ./system_partition_size.patch
  ];

20:10:11
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneI am applying this, but it reckons it's already applied 20:10:19
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zone
diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk
index d31ebaf..e655ca2 100644
--- a/BoardConfigCommon.mk
+++ b/BoardConfigCommon.mk
@@ -108,19 +108,6 @@ BOARD_SUPER_PARTITION_VENDOR_DEVICE_SIZE := 1610612736
 BOARD_SUPER_PARTITION_CUST_DEVICE_SIZE := 1073741824
 BOARD_SUPER_PARTITION_METADATA_DEVICE := system
 
-# Partitions - reserved size
-ifneq ($(WITH_GMS),true)
-$(foreach p, $(call to-upper, $(SSI_PARTITIONS)), \
-    $(eval BOARD_$(p)IMAGE_EXTFS_INODE_COUNT := -1))
-SSI_PARTITIONS_RESERVED_SIZE := 1205862400
-else
-SSI_PARTITIONS_RESERVED_SIZE := 30720000
-endif
-$(foreach p, $(call to-upper, $(SSI_PARTITIONS)), \
-    $(eval BOARD_$(p)IMAGE_PARTITION_RESERVED_SIZE := $(SSI_PARTITIONS_RESERVED_SIZE)))
-$(foreach p, $(call to-upper, $(TREBLE_PARTITIONS)), \
-    $(eval BOARD_$(p)IMAGE_PARTITION_RESERVED_SIZE := 30720000))
-
 # Platform
 BOARD_VENDOR := xiaomi
 BOARD_USES_QCOM_HARDWARE := true

20:10:31
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneI guess someone applied this upstream, nice 20:10:38
8 Aug 2025
@kity:kity.wtfproblems changed their profile picture.02:31:09
@0x4a6f:nixos.dev0x4A6F joined the room.06:27:30

Show newer messages


Back to Room ListRoom Version: 6