fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
d72adc012
master
1Vagrant.configure("2") do |config| 2 config.vm.box = "generic/netbsd9" 3 config.vm.guest = :netbsd 4 5 # Make /sync once as vagrant:vagrant so rsync doesn't need sudo 6 config.vm.provision "shell", inline: <<~'SH' 7 set -e 8 install -d -o vagrant -g vagrant /sync 9 10 # Packages (runs as root) 11 pkgin -y install git python312 rust mozilla-rootcerts 12 # Update CA certificates 13 mozilla-rootcerts install 14 git --version 15 python3 --version 16 rustc --version 17 cargo --version 18 SH 19 20 # sync fish-shell to /vagrant/fish-shell 21 config.vm.synced_folder "../../..", "/home/vagrant/fish-shell", 22 type: "rsync", 23 rsync__rsync_path: "sudo rsync", # sudo in guest 24 rsync__exclude: [".git/", ".git", "fish-shell/target/", "fish-shell/build/"], 25 rsync__args: [ 26 "--archive", "--delete", 27 "--no-owner", "--no-group", 28 "--omit-dir-times", 29 "--info=progress2", "--stats" 30 ] 31 32 33 config.vm.provider :libvirt do |v| 34 v.cpus = 4 35 v.memory = 2048 36 # Max I/O for disposable builds. Remove if you need durability. 37 v.disk_driver :cache => 'unsafe' 38 # Note: NetBSD needs graphics on; leave default graphics enabled. 39 end 40end