mirror of
https://github.com/foxlet/macOS-Simple-KVM.git
synced 2024-12-02 16:09:42 +01:00
nix-shell: init
It declares the dependencies for Nix users
This commit is contained in:
parent
d5262e9747
commit
9c270f2c72
2 changed files with 9 additions and 0 deletions
|
@ -15,6 +15,7 @@ sudo xbps-install -Su qemu python3 python3-pip # for Void Linux.
|
||||||
sudo zypper in qemu-tools qemu-kvm qemu-x86 qemu-audio-pa python3-pip # for openSUSE Tumbleweed
|
sudo zypper in qemu-tools qemu-kvm qemu-x86 qemu-audio-pa python3-pip # for openSUSE Tumbleweed
|
||||||
sudo dnf install qemu qemu-img python3 python3-pip # for Fedora
|
sudo dnf install qemu qemu-img python3 python3-pip # for Fedora
|
||||||
sudo emerge -a qemu python:3.4 pip # for Gentoo
|
sudo emerge -a qemu python:3.4 pip # for Gentoo
|
||||||
|
nix-shell # for Nix users
|
||||||
```
|
```
|
||||||
|
|
||||||
## Step 1
|
## Step 1
|
||||||
|
|
8
shell.nix
Normal file
8
shell.nix
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
{ pkgs ? import <nixpkgs> {} }:
|
||||||
|
|
||||||
|
pkgs.mkShell {
|
||||||
|
nativeBuildInputs = with pkgs; [
|
||||||
|
qemu_kvm
|
||||||
|
dmg2img
|
||||||
|
];
|
||||||
|
}
|
Loading…
Reference in a new issue