mirror of
https://github.com/hanzoai/container.git
synced 2026-10-30 15:06:01 +00:00
* core: begin migration to ubuntu * core: update cloud image link * k3s: update version * core: fix boot for ubuntu * vm: add ability to set custom hostname * core: checkpoint: remove qemu wrapper * core: checkpoint: remove qemu wrapper * cli: minor bug fix for terminal output * cli: fix broken terminal output for deb download * cli: improve terminal output for deb download * vm: fix docker permission on initial create * net: remove gvproxy, migrate to user-v2 * docker: fix host-gateway address * vm: avoid re-installing packages * k3s: fix broken coredns * core: improve downloader * vm: add binfmt for cross-platform containers * containerd: fix for ubuntu * containerd: fix broken working directory detection * chore: remove obsolete env var * chore: minor refactor for binfmt * cli: fix ip address for colima list * docker: add daemon support for proxy env vars * vm: add more utilities * ci: remove obsolete ubuntu layer * ci: move to gh from hub * core: use custom directory for Lima * chore: minor factor, remove obsolete variable * docker: workaround initial user permission issue * chore: remove obsolete code * vm: fix binfmt cache * core: enforce Lima version requirement * docker: workaround permission issue * vm: enable inotify by default * core: enable binfmt only on host arch * docs: prepare for v0.6.0 * nix: update Go version in shell * nix: update build * build: add integration test script * ci: remove aarch64, defer until proper m1 support * build: fix colima path in integration test script
27 lines
498 B
Nix
27 lines
498 B
Nix
{ pkgs ? import <nixpkgs> { } }:
|
|
|
|
pkgs.mkShell {
|
|
# nativeBuildInputs is usually what you want -- tools you need to run
|
|
nativeBuildInputs = with pkgs.buildPackages; [
|
|
go_1_20
|
|
git
|
|
lima
|
|
qemu
|
|
];
|
|
shellHook = ''
|
|
echo Nix Shell with $(go version)
|
|
echo
|
|
|
|
COLIMA_BIN="$PWD/$(make print-binary-name)"
|
|
if [ ! -f "$COLIMA_BIN" ]; then
|
|
echo "Run 'make' to build Colima."
|
|
echo
|
|
fi
|
|
|
|
set -x
|
|
set -x
|
|
alias colima="$COLIMA_BIN"
|
|
set +x
|
|
'';
|
|
}
|