Skip to content

Doesnt seem to work in darwin #28

@sergei1152

Description

@sergei1152

Trying to get this to work on my darwin system but getting this issue when adding the flake:

[I] ➜  darwin git:(master) ✗ sudo darwin-rebuild switch --flake .#Serjs-Work-MacBook-Pro
Password:
building the system configuration...
warning: Git tree '/Users/sbabayan/Software/themachine' is dirty
warning: updating lock file '"/Users/sbabayan/Software/themachine/nixos/hosts/darwin/flake.lock"':
• Updated input 'opencode-flake/nixpkgs':
    'github:NixOS/nixpkgs/9547cfd27b5158eb612a6812dfc5c7b3d118b996?narHash=sha256-eegjF6fo080481S/ZHyDENjeGG1ZgW2v86O9UZQxLJ8%3D' (2025-09-29)
  → follows 'nixpkgs'
warning: Git tree '/Users/sbabayan/Software/themachine' is dirty
error:
       … while calling the 'derivationStrict' builtin
         at <nix/derivation-internal.nix>:37:12:
           36|
           37|   strict = derivationStrict drvAttrs;
             |            ^
           38|

       … while evaluating derivation 'darwin-system-25.11.8df64f8'
         whose name attribute is located at /nix/store/mfvg1blms6k3rfkgxr3q17cyswv9p3z3-source/pkgs/stdenv/generic/make-derivation.nix:538:13

       … while evaluating attribute 'activationScript' of derivation 'darwin-system-25.11.8df64f8'
         at /nix/store/01973pmfpivikwnkhlggyv463bq3nmf9-source/modules/system/default.nix:89:7:
           88|
           89|       activationScript = cfg.activationScripts.script.text;
             |       ^
           90|

       … while evaluating the option `system.activationScripts.script.text':

       … while evaluating definitions from `/nix/store/01973pmfpivikwnkhlggyv463bq3nmf9-source/modules/system/activation-scripts.nix':

       … while evaluating the option `system.activationScripts.applications.text':

       … while evaluating definitions from `/nix/store/01973pmfpivikwnkhlggyv463bq3nmf9-source/modules/system/applications.nix':

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

       error: attribute 'aarch64-darwin' missing
       at /nix/store/83mnjr7im37lk8vi54zx1ik9d3yz5180-source/package.nix:107:7:
          106|     outputHash =
          107|       {
             |       ^
          108|         x86_64-linux = "sha256-YOTuzwo0ZjqVswW3bUu3pFJcmfl0X0Se8Z5jKg8/rQs=";

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions