在MacO上为nix进行远程构建

问题描述

我想使用nix从MacO进行远程构建,但是遇到以下错误

❯ nix-build \
  --max-jobs 0 \
  --builders "ssh://eu.nixbuild.net x86_64-linux - 100 1 big-parallel,benchmark" \
  -I nixpkgs=channel:nixos-20.03 \
  --expr '((import <nixpkgs> {}).runcommand "test${toString builtins.currentTime}" {} "echo Hello nixbuild.net; touch $out")'

warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels' does not exist,ignoring
these derivations will be built:
  /nix/store/np9y9wr0b8v6p30ssxc3yk5dy3yk5wq2-test1603277392.drv

error: unable to start any build; either increase '--max-jobs' or enable remote builds

我们如何允许在MacOS上进行此类远程构建?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)