An easy to use Linux builder for macOS [maintainer=@nicknovitski]
Go to file
2018-04-03 04:52:11 -07:00
hyperkit Initial commit 2018-04-02 05:57:18 -07:00
linuxkit Initial commit 2018-04-02 05:57:18 -07:00
linuxkit-builder Cleanly halt VM 2018-04-03 04:52:11 -07:00
virtsock Initial commit 2018-04-02 05:57:18 -07:00
vpnkit Initial commit 2018-04-02 05:57:18 -07:00
.gitignore Initial commit 2018-04-02 05:57:18 -07:00
default.nix Initial commit 2018-04-02 05:57:18 -07:00
overlay.nix Add nix-script-store-plugin 2018-04-02 07:21:04 -07:00
README.md Add README 2018-04-02 07:34:28 -07:00

linuxkit-builder

Install the packages into the default profile:

sudo nix-env -f . -p /nix/var/nix/profiles/default -iA nixUnstable nix-script-store-plugin linuxkit-builder

Update /etc/nix/nix.conf with the plugin:

plugin-files=/nix/var/nix/profiles/default/lib/nix/plugins/libnix-script-store.dylib

Restart nix-daemon:

sudo launchctl unload /Library/LaunchDaemons/org.nixos.nix-daemon.plist
sudo launchctl load /Library/LaunchDaemons/org.nixos.nix-daemon.plist

Then you can use the builder with the builders flag:

nix-build --builders 'script:///nix/var/nix/profiles/default/bin/linuxkit-builder x86_64-linux - - - big-parallel'