Skip to content

nix profile install fails on ubuntu-24.04-arm runner #222

@msgilligan

Description

@msgilligan

I am using install-nix-action to build secp256k1-jdk and it works perfectly for ubuntu-24.04 and macOS-14. I opened a PR to add ubuntu-24.04-arm and I get the following failure during nix profile install:

nix profile install nixpkgs#secp256k1
  shell: /usr/bin/bash -e {0}
  env:
    JAVA_HOME: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/23.0.1-11/arm64
    JAVA_HOME_23_ARM64: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/23.0.1-11/arm64
    TMPDIR: /home/runner/work/_temp
error: getting status of '/home/runneradmin/.config/nix/registry.json': Permission denied
Error: Process completed with exit code 1.

I'm not sure what difference in the -arm runner is causing this, but hopefully there is a way to resolve this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions