···157You may make any other changes to your VM in this attribute set. For example,
158you could enable Docker or X11 forwarding to your Darwin host.
15900000000000000
···157You may make any other changes to your VM in this attribute set. For example,
158you could enable Docker or X11 forwarding to your Darwin host.
159160+## Troubleshooting the generated configuration {#sec-darwin-builder-troubleshoot}
161+162+The `linux-builder` package exposes the attributes `nixosConfig` and `nixosOptions` that allow you to inspect the generated NixOS configuration in the `nix repl`. For example:
163+164+```
165+$ nix repl --file ~/src/nixpkgs --argstr system aarch64-darwin
166+167+nix-repl> darwin.linux-builder.nixosConfig.nix.package
168+«derivation /nix/store/...-nix-2.17.0.drv»
169+170+nix-repl> :p darwin.linux-builder.nixosOptions.virtualisation.memorySize.definitionsWithLocations
171+[ { file = "/home/user/src/nixpkgs/nixos/modules/profiles/macos-builder.nix"; value = 3072; } ]
172+173+```
···16```ShellSession
17$ cd /path/to/nixpkgs/nixos/doc/manual
18$ nix-shell
19-nix-shell$ make
20```
2122Once you are done making modifications to the manual, it's important to
···16```ShellSession
17$ cd /path/to/nixpkgs/nixos/doc/manual
18$ nix-shell
19+nix-shell$ devmode
20```
2122Once you are done making modifications to the manual, it's important to
···1011buildGoModule rec {
12 pname = "fastly";
13- version = "10.4.0";
1415 src = fetchFromGitHub {
16 owner = "fastly";
17 repo = "cli";
18 rev = "refs/tags/v${version}";
19- hash = "sha256-NEbQ4GoZXnFes6jvqKDg4T8eDAHHEYytJ7W7qeZSCmE=";
20 # The git commit is part of the `fastly version` original output;
21 # leave that output the same in nixpkgs. Use the `.git` directory
22 # to retrieve the commit SHA, and remove the directory afterwards,
···33 "cmd/fastly"
34 ];
3536- vendorHash = "sha256-mpN4YCiuL2jrZ4r/YOUhQSOBlGGHndQyrB9GT5mTAyI=";
3738 nativeBuildInputs = [
39 installShellFiles
···1011buildGoModule rec {
12 pname = "fastly";
13+ version = "10.5.0";
1415 src = fetchFromGitHub {
16 owner = "fastly";
17 repo = "cli";
18 rev = "refs/tags/v${version}";
19+ hash = "sha256-aLO48gExo8rIFp20Yf4LwN+0wROnn6dzQDqzveYPg2E=";
20 # The git commit is part of the `fastly version` original output;
21 # leave that output the same in nixpkgs. Use the `.git` directory
22 # to retrieve the commit SHA, and remove the directory afterwards,
···33 "cmd/fastly"
34 ];
3536+ vendorHash = "sha256-H1cD4FZr1612/O1GjHZrKrUQi5H/EkDA3Tkqio95UdY=";
3738 nativeBuildInputs = [
39 installShellFiles