Building a docker image on macOS with remote builder

Try updating your source file like so to specify the target system type appropriately:

{ system ? "x86_64-linux", pkgs ? import <nixpkgs> { inherit system; } }:
with pkgs;
# ...
1 Like