| 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.
|