!UUYziobKGGxpovWyAN:nixos.org

Robotnix

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

Load older messages


SenderMessageTime
25 Dec 2024
@oak:universumi.fioak 🏳️‍🌈♥️I don't think the relevant error is visible here11:39:39
@oak:universumi.fioak 🏳️‍🌈♥️* I don't think the relevant error is visible here? (Or is there simply not any error message?)11:41:51
@countoren:matrix.orgcountoren

yes looking at the entire nix log I dont see more meaningful error it does spit the env vars:

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=13
LINEAGE_VERSION=20.0-20241225-EXPERIMENTAL-instantnoodlep
TARGET_PRODUCT=lineage_instantnoodlep
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=generic
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-6.6.56-x86_64
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=TQ3A.230901.001
OUT_DIR=out
PRODUCT_SOONG_NAMESPACES=device/oneplus/instantnoodlep hardware/oplus/overlay/qssi device/oneplus/sm8250-common hardware/oplus vendor/qcom/opensource/us>
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=13
LINEAGE_VERSION=20.0-20241225-EXPERIMENTAL-instantnoodlep
TARGET_PRODUCT=lineage_instantnoodlep
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=generic
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-6.6.56-x86_64
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=TQ3A.230901.001
OUT_DIR=out
PRODUCT_SOONG_NAMESPACES=device/oneplus/instantnoodlep hardware/oplus/overlay/qssi device/oneplus/sm8250-common hardware/oplus vendor/qcom/opensource/us>

these from first look makes sense to me.

13:00:09
@countoren:matrix.orgcountoren *

looking at the entire nix log I dont see more meaningful error it does spit the env vars:

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=13
LINEAGE_VERSION=20.0-20241225-EXPERIMENTAL-instantnoodlep
TARGET_PRODUCT=lineage_instantnoodlep
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=generic
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-6.6.56-x86_64
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=TQ3A.230901.001
OUT_DIR=out
PRODUCT_SOONG_NAMESPACES=device/oneplus/instantnoodlep hardware/oplus/overlay/qssi device/oneplus/sm8250-common hardware/oplus vendor/qcom/opensource/us>
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=13
LINEAGE_VERSION=20.0-20241225-EXPERIMENTAL-instantnoodlep
TARGET_PRODUCT=lineage_instantnoodlep
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=generic
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-6.6.56-x86_64
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=TQ3A.230901.001
OUT_DIR=out
PRODUCT_SOONG_NAMESPACES=device/oneplus/instantnoodlep hardware/oplus/overlay/qssi device/oneplus/sm8250-common hardware/oplus vendor/qcom/opensource/us>

these from first look makes sense to me.

13:01:46
@oak:universumi.fioak 🏳️‍🌈♥️Could be helpful to see the robotnix configuration again13:03:39
@oak:universumi.fioak 🏳️‍🌈♥️

Here's a configuration that should just work:

{
  device = "instantnoodlep";
  flavor = "lineageos";
  androidVersion = 13;
  variant = "user";
  buildDateTime = 1732404420;

  signing = {
    enable = true;
    keyStorePath = "/FULL/PATH/TO/YOUR/KEYS/instantnoodlep";
  };

  apps = {
    chromium.enable = false;
    fdroid.enable = true;
    updater = {
      enable = true;
      url = "https://android.purefun.fi/instantnoodlep";
    };
  };

  webview.chromium = {
    enable = false;
    availableByDefault = false;
  };
}
13:07:09
@oak:universumi.fioak 🏳️‍🌈♥️ *

Here's a configuration that should just work:

{
  device = "instantnoodlep";
  flavor = "lineageos";
  androidVersion = 13;
  variant = "user";
  buildDateTime = 1732404420;

  signing = {
    enable = true;
    keyStorePath = "/FULL/PATH/TO/YOUR/KEYS/instantnoodlep";
  };

  apps = {
    chromium.enable = false;
    fdroid.enable = true;
    updater = {
      enable = true;
      url = "https://android.YOURDOMAIN.fi/instantnoodlep";
    };
  };

  webview.chromium = {
    enable = false;
    availableByDefault = false;
  };
}
13:07:34
@countoren:matrix.orgcountorendo i need signing from the get go?13:36:20
@countoren:matrix.orgcountoren *

this my current config on flake:

{
  description = "Robotnix configuration for OnePlus 8 Pro";

  inputs.robotnix.url = "github:danielfullmer/robotnix";

  outputs = { self, robotnix }: {
    robotnixConfigurations."oneplus8pro" = robotnix.lib.robotnixSystem ({ config, pkgs, ... }: {
      # Required options
      device = "instantnoodlep";  # Codename for OnePlus 8 Pro
      flavor = "lineageos";  # Change this to 'lineageos' if you want LineageOS, otherwise keep 'grapheneos' if supported
      androidVersion = 13;
      webview.chromium.enable = false;
      webview.prebuilt.enable = false;
      apps.chromium.enable = false;
    });

    # Default package for building the image
    defaultPackage.x86_64-linux = self.robotnixConfigurations."oneplus8pro".img;
  };
}

do i need signing and updater from the get go?

13:38:50
@atemu12:matrix.orgatemu12No, that ought to work14:09:53
@oak:universumi.fioak 🏳️‍🌈♥️The buildDateTime is missing17:00:57
@atemu12:matrix.orgatemu12That shouldn't cause an issue though17:01:17
@atemu12:matrix.orgatemu12It should be set17:01:22
@atemu12:matrix.orgatemu12(By the lineageos flavour)17:01:35
@atemu12:matrix.orgatemu12If setting it works, that's a bug17:01:49
@atemu12:matrix.orgatemu12Please try it17:01:51
@oak:universumi.fioak 🏳️‍🌈♥️ Actually, this is probably the issue: inputs.robotnix.url = "github:danielfullmer/robotnix"; 17:02:15
@oak:universumi.fioak 🏳️‍🌈♥️It should be github:nix-community/robotnix now I think17:02:33
@atemu12:matrix.orgatemu12That should just redirect to nix-community17:02:35
@atemu12:matrix.orgatemu12Well I say should but my browser history always spits out the old location, so I always get the redirect when I access the GH repo17:03:29
@oak:universumi.fioak 🏳️‍🌈♥️Okay it seems it just redirects17:09:04
@oak:universumi.fioak 🏳️‍🌈♥️I tried to copy-paste this into my local flake.nix and I didn't hit the soong error, it started to build just fine. The only thing I changed was the input, I didn't add buildDateTime17:19:07
@atemu12:matrix.orgatemu12Changed input from what to what?17:19:37
@oak:universumi.fioak 🏳️‍🌈♥️From danielfullmer/robotnix to nix-community/robotnix17:19:53
@oak:universumi.fioak 🏳️‍🌈♥️Although the hash didn't change so I'm not sure is this an issue17:20:08
@atemu12:matrix.orgatemu12It couldn't be really17:20:30
@atemu12:matrix.orgatemu12They said they were using https://github.com/nix-community/robotnix/commit/ddefce63fe8ec896c24325e1680959a893a581ff17:20:36
@atemu12:matrix.orgatemu12If you don't change anything do you repro then?17:20:51
@oak:universumi.fioak 🏳️‍🌈♥️Let's try17:21:47
@oak:universumi.fioak 🏳️‍🌈♥️It just starts to do the exactly same build17:22:40

Show newer messages


Back to Room ListRoom Version: 6