vaultix icon indicating copy to clipboard operation
vaultix copied to clipboard

app failed to run on raspberry pi 4b

Open serephus opened this issue 1 year ago • 2 comments

running app with command nix run .#vaultix.app.x86_64-linux.renc on my x86_64 machine failed with error:

flr@x1c ~/d/nixos-config (rpi)> nix run .#vaultix.app.x86_64-linux.renc
warning: Git tree '/home/flr/dev/nixos-config' is dirty
error:
       … while calling the 'derivationStrict' builtin
         at <nix/derivation-internal.nix>:34:12:
           33|
           34|   strict = derivationStrict drvAttrs;
             |            ^
           35|

       … while evaluating derivation 'renc'
         whose name attribute is located at /nix/store/vdyq3cl640n39sclkc8br4xgd09fdj2w-source/pkgs/stdenv/generic/make-derivation.nix:375:7

       … while evaluating attribute 'text' of derivation 'renc'
         at /nix/store/vdyq3cl640n39sclkc8br4xgd09fdj2w-source/pkgs/build-support/trivial-builders/default.nix:106:17:
          105|       ({
          106|         inherit text executable checkPhase allowSubstitutes preferLocalBuild;
             |                 ^
          107|         passAsFile = [ "text" ]

       (stack trace truncated; use '--show-trace' to show the full, detailed trace)

       error: a 'aarch64-linux' with features {} is required to build '/nix/store/1mpx43gmzq05a3nn9v5id3r9wcc4hf17-rust-src-1.86.0-nightly-2025-02-09-aarch64-unknown-linux-gnu.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, kvm, nixos-test}

running nix run .#vaultix.app.aarch64-linux.renc on rpi 4 result in similar error

serephus avatar Mar 04 '25 19:03 serephus

Could you please help verify if #18 resolves the issue?

oluceps avatar Mar 04 '25 19:03 oluceps

Could you please help verify if #18 resolves the issue?

Yes, #18 fixed this issue for me

serephus avatar Mar 04 '25 20:03 serephus