!UUYziobKGGxpovWyAN:nixos.org

Robotnix

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

Load older messages


SenderMessageTime
28 Dec 2024
@atemu12:matrix.orgatemu12currently trying to figure out what partition it actually belongs to17:04:19
@atemu12:matrix.orgatemu12 fastboot update fails on vendor but I'm not sure that's actually what makes it fail 17:20:14
@atemu12:matrix.orgatemu12And vendor doesn't contain much; certainly not the webview17:20:37
@atemu12:matrix.orgatemu12Found the culprit and added context in the PR17:40:25
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zone changed their display name from matthewcroughan to matthewcroughan (DECT: 56490).19:53:33
29 Dec 2024
@izzie:transgirl.cafe@izzie:transgirl.cafe left the room.21:36:37
30 Dec 2024
@raitobezarius:matrix.orgraitobezarius changed their display name from raitobezarius (DECT: 3538 / EPVPN 2681) to raitobezarius.16:26:30
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zone changed their display name from matthewcroughan (DECT: 56490) to matthewcroughan.17:36:45
31 Dec 2024
@tilpner:tx0.cotilpner changed their display name from tilpner (38c3 3209) to tilpner.10:54:55
@atemu12:matrix.orgatemu12Welp16:08:08
@atemu12:matrix.orgatemu12https://lineageos.org/Changelog-29/16:08:09
@atemu12:matrix.orgatemu12But that's something for next year ^^'16:08:31
@oak:universumi.fioak 🏳️‍🌈♥️Was just going to post this :)16:16:19
@kranzes:matrix.orgkranzeswow, their new music app supports jellyfin? that's sick17:37:07
@kranzes:matrix.orgkranzesI know of finamp which is good, but it's cool we have no options now17:37:27
1 Jan 2025
@iooioio:matrix.org@iooioio:matrix.org left the room.10:35:14
@mjolnir:nixos.orgmjolnirchanged room power levels.14:26:28
2 Jan 2025
@countoren:matrix.orgcountoren

I was able to run an image without signing trying to sign now getting:

$ nix build --impure
warning: Git tree '/home/orozen/nixpkgs' is dirty
error: builder for '/nix/store/1nqvy0hbxc1s29z5p7l8m7l6kfb7q9j8-instantnoodlep-signed_target_files-2024112323.zip.drv' failed with exit code 1;
       last 1 log lines:
       > Missing KEYSDIR directory, did you use "--option extra-sandbox-paths /keys=..." ?
       For full logs, run 'nix log /nix/store/1nqvy0hbxc1s29z5p7l8m7l6kfb7q9j8-instantnoodlep-signed_target_files-2024112323.zip.drv'.
error: 1 dependencies of derivation '/nix/store/p49s6lqkmwnvs2b7q806byw8indjphnv-instantnoodlep-img-2024112323.zip.drv' failed to build

having this flake:

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

  inputs.robotnix.url = "github:nix-community/robotnix/430b818f5e0a94aba9371bebdcc489f636c5e161";

  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;

      variant = "user";
      buildDateTime = 1732404420;
      # Optional configurations
      # buildDateTime = 1584398664; # Update if you want to push OTA updates for your custom changes

      # If you have keys for signing, enable this
      signing.enable = true;
      signing.keyStorePath = "/home/orozen/nixpkgs/phone/keys";
      # Enable ccache if you want faster subsequent builds
 
      apps.fdroid.enable = true;
      microg.enable = true;

      # ccache.enable = true;

      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;
  };
}

I assume you guys seen this before, I noticed this issue :
https://github.com/nix-community/robotnix/issues/204
but I didn't figure out the solution yet.

14:37:51
@countoren:matrix.orgcountoren *

I was able to run an image without signing trying to sign now getting:

$ nix build --impure
warning: Git tree '/home/.../nixpkgs' is dirty
error: builder for '/nix/store/1nqvy0hbxc1s29z5p7l8m7l6kfb7q9j8-instantnoodlep-signed_target_files-2024112323.zip.drv' failed with exit code 1;
       last 1 log lines:
       > Missing KEYSDIR directory, did you use "--option extra-sandbox-paths /keys=..." ?
       For full logs, run 'nix log /nix/store/1nqvy0hbxc1s29z5p7l8m7l6kfb7q9j8-instantnoodlep-signed_target_files-2024112323.zip.drv'.
error: 1 dependencies of derivation '/nix/store/p49s6lqkmwnvs2b7q806byw8indjphnv-instantnoodlep-img-2024112323.zip.drv' failed to build

having this flake:

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

  inputs.robotnix.url = "github:nix-community/robotnix/430b818f5e0a94aba9371bebdcc489f636c5e161";

  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;

      variant = "user";
      buildDateTime = 1732404420;
      # Optional configurations
      # buildDateTime = 1584398664; # Update if you want to push OTA updates for your custom changes

      # If you have keys for signing, enable this
      signing.enable = true;
      signing.keyStorePath = "/home/.../nixpkgs/phone/keys";
      # Enable ccache if you want faster subsequent builds
 
      apps.fdroid.enable = true;
      microg.enable = true;

      # ccache.enable = true;

      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;
  };
}

I assume you guys seen this before, I noticed this issue :
https://github.com/nix-community/robotnix/issues/204
but I didn't figure out the solution yet.

14:40:58
@atemu12:matrix.orgatemu12I've never done signing but have you passed the signing dir into the sandbox as documented?14:51:54
@atemu12:matrix.orgatemu12Using a release script is preferred though I think14:52:07
@countoren:matrix.orgcountoren

I tried something like:

$ nix build --impure --option extra-sendbox-paths /keys=./keys                                             

but I am not sure I am doing correctly

14:55:31
@atemu12:matrix.orgatemu12Are you a trusted user?14:55:50
@countoren:matrix.orgcountorenI should be 14:56:04
@atemu12:matrix.orgatemu12 Try to access that directory from within the sandbox via a e.g. a simple runCommand to verify 14:56:11
@countoren:matrix.orgcountorenmaybe I will try to switch out from flake to be able to change default.nix14:56:59
@atemu12:matrix.orgatemu12 You should be able to modify it with flakes too; they're shit but not that shit 14:57:36
@countoren:matrix.orgcountorenwell flake is downloading the source (of robotnix) to the nix store14:58:31
@countoren:matrix.orgcountorenwell I mean to clone the repo. 14:58:52
@countoren:matrix.orgcountorenin this machine that i switched to I just used the flake without cloning14:59:11

Show newer messages


Back to Room ListRoom Version: 6