Skip to content

Missing package exception on initial 'nix develop' after clean install on ARM at AWS (Ubuntu) #208

@neeshjaa

Description

@neeshjaa

I got this exception after following the usual QuickStart to install structure learning on an ARM-based instance at AWS:

ubuntu@ip-172-31-41-23:~/GenSQL.structure-learning$ nix develop
error:
    … while calling the 'derivationStrict' builtin
     at <nix/derivation-internal.nix>:9:12:
      8|
      9|  strict = derivationStrict drvAttrs;
       |      ^
      10|

    … while evaluating derivation 'nix-shell'
     whose name attribute is located at /nix/store/4a3qxnlq7r1gjwfjfqrizpf30hh22bz1-source/pkgs/stdenv/generic/make-derivation.nix:303:7

    … while evaluating attribute 'nativeBuildInputs' of derivation 'nix-shell'
     at /nix/store/4a3qxnlq7r1gjwfjfqrizpf30hh22bz1-source/pkgs/stdenv/generic/make-derivation.nix:347:7:
     346|    depsBuildBuild       = lib.elemAt (lib.elemAt dependencies 0) 0;
     347|    nativeBuildInputs      = lib.elemAt (lib.elemAt dependencies 0) 1;
       |    ^
     348|    depsBuildTarget       = lib.elemAt (lib.elemAt dependencies 0) 2;

    … while evaluating definitions from `/nix/store/aqnklsijb47x7z816nci9zqg8rjv0wnb-source/modules/transposition.nix':

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

    error: Attempt to access packages.aarch64-linux of flake /nix/store/cdrydidy5f0p2gd0nxh5339rwjg3llrm-source, but it does not have it.
    It does have attribute packages, so it appears that it does not support system type aarch64-linux.

The system specs are:
AMI: Ubuntu (24.04 LTS (GNU/Linux 6.8.0-1010-aws aarch64)
Instance type: r6g.8xlarge
Architecture: ARM
Storage: gp3 128GB

The QuickStart setup process went smoothly with no errors. Nix installed in daemon mode, Docker installed from the repository. Just let me know if there's something I can try.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions