royalgraphx / DarwinKVM

An advanced guide to run Mac OS / OS X / macOS on QEMU/KVM with libvirtd/Virt-Manager. Includes various write-ups for deep customization.
https://docs.darwinkvm.com/
BSD 3-Clause "New" or "Revised" License
81 stars 16 forks source link

NixOS notes #20

Open TheArcaneBrony opened 1 week ago

TheArcaneBrony commented 1 week ago

Just documenting all the workarounds i've applied under NixOS, as discussed on Discord.

DiskProvision - requires Click (ignored shell script):

nix-shell -p python3Packages.click
python3 src/main.py

-> Possibly could use a nix flake that puts python3(.12?) on PATH and puts click on PYTHONPATH, aka just add those 2 packages as shell build inputs.

TheArcaneBrony commented 1 week ago

ProperTree:

nix shell nixpkgs#python3Full

NOTE: python3 does not include TK! Only the Full package does. -> See DiskProvision, only python3Full is needed