NixOS / NixOS/nix.dev

Building docker images on macOS doesn't work

Open
#827 7 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Nix
Stars
4k
Forks
339
Avg merge
2d 11h
Merged PRs (30d)
7

Description

Hi
I just want to point out that this part of the tutorial (link) doesn't work

Cross compile to Linux by replacing pkgsLinux.hello with pkgs.pkgsCross.musl64.hello

I was trying to run that script on macOS and it kept erroring out, probably better to suggest using a VM. I used Multipass https://multipass.run/ and it's very easy to use, so probably suggesting that is better. Thanks

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open the linked building-and-running Docker images tutorial and review the quoted pkgs.pkgsCross.musl64.hello step on macOS. Confirm the reported failure, then assess the proposed Multipass guidance; the documentation is done when macOS readers have a workable, accurate path.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, macos
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.