diff options
author | Gabriella Gonzalez <GenuineGabriella@gmail.com> | 2023-08-11 08:29:44 -0700 |
---|---|---|
committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2023-11-26 18:35:22 +0000 |
commit | c8dec19ac0a556e5f092c70648933961bcb56deb (patch) | |
tree | 5f16c71d0799e232a0201fa41d5b29c846e7b09e | |
parent | a47fdb7719c6ffba0b2d600c1774d8f35b097fca (diff) |
darwin.linuxBuilder: Fix working directory in documentation
This fixes the working directory for the suggested flake, as originally suggested by @MaxDaten in: https://github.com/NixOS/nixpkgs/issues/229542#issuecomment-1674886874 … and then amended by @Enzime in: https://github.com/NixOS/nixpkgs/pull/248554#issuecomment-1676825733 (cherry picked from commit 4cb41faba7606750ba786828c23ed9f445666b03)
-rw-r--r-- | doc/packages/darwin-builder.section.md | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/packages/darwin-builder.section.md b/doc/packages/darwin-builder.section.md index 89c2445667dcc..0c53237053456 100644 --- a/doc/packages/darwin-builder.section.md +++ b/doc/packages/darwin-builder.section.md @@ -94,7 +94,11 @@ $ sudo launchctl kickstart -k system/org.nixos.nix-daemon system = linuxSystem; modules = [ "${nixpkgs}/nixos/modules/profiles/macos-builder.nix" - { virtualisation.host.pkgs = pkgs; } + { virtualisation = { + host.pkgs = pkgs; + darwin-builder.workingDirectory = "/var/lib/darwin-builder"; + }; + }; ]; }; in { |