liminix/pkgs/mips-vm/default.nix

12 lines
179 B
Nix
Raw Normal View History

{
qemu
, writeShellScriptBin
, stdenv
, lib
}:
writeShellScriptBin "mips-vm"
''
export PATH="${lib.makeBinPath [qemu]}:$PATH"
${builtins.readFile ./mips-vm.sh}
''