| 5 Aug 2025 |
pentane ⭔ | Yeah, it was a pain | 20:00:28 |
matthewcroughan - nix.zone | It's the same story with a lot of embedded stuff though | 20:01:54 |
matthewcroughan - nix.zone | like Zephyr and West | 20:02:00 |
matthewcroughan - nix.zone | And they're always so proud when they reinvent the wheel | 20:02:26 |
matthewcroughan - nix.zone | https://docs.zephyrproject.org/latest/develop/west/index.html | 20:02:57 |
matthewcroughan - nix.zone | "meta-tool" | 20:03:07 |
matthewcroughan - nix.zone | As if calling something a meta tool, makes it any easier to understand | 20:03:23 |
matthewcroughan - 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 - nix.zone | Why do they do this | 20:04:57 |
matthewcroughan - nix.zone | They philosophise so much.. think so big.. and the end result is some buggy over-engineered nightmare | 20:05:10 |
matthewcroughan - nix.zone | * They philosophize so much.. think so big.. and the end result is some buggy over-engineered nightmare | 20:05:16 |
atemu12 | Can you please keep it on-topic? | 20:06:08 |
matthewcroughan - nix.zone | Yeah sorry | 20:06:15 |
matthewcroughan - 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 - nix.zone | Is there an easy way around the rate limits? | 20:06:38 |
matthewcroughan - nix.zone | You can't perform a build of robotnix from scratch without hitting them | 20:06:53 |
pentane ⭔ | none that I know of, either throttle your own connection or reduce the number of simultaneous builds ig | 20:07:15 |
matthewcroughan - nix.zone | Yeah.. throttling own connection. Rate limits are an interesting impurity that isn't handled in nixpkgs at all basically | 20:07:47 |
pentane ⭔ | occasionally, I also rotated through some Mullvad proxies to avoid the ratelimit | 20:07:50 |
matthewcroughan - nix.zone | Like all fetchers would need to implement this if it were to be supported | 20:07:55 |
matthewcroughan - nix.zone | I reckon they should tbh | 20:08:15 |
matthewcroughan - nix.zone | The android development experience lol | 20:08:56 |
matthewcroughan - 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 - nix.zone | Interesting! | 20:10:06 |
matthewcroughan - nix.zone | source.dirs."device/xiaomi/sdm710-common".patches = [
./system_partition_size.patch
];
| 20:10:11 |
matthewcroughan - nix.zone | I am applying this, but it reckons it's already applied | 20:10:19 |
matthewcroughan - 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 - nix.zone | I guess someone applied this upstream, nice | 20:10:38 |
| 8 Aug 2025 |
| problems changed their profile picture. | 02:31:09 |
| 0x4A6F joined the room. | 06:27:30 |