1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-04-26 12:09:02 +00:00

core: update build instructions

This commit is contained in:
Pavol Rusnak 2019-05-28 10:24:49 +02:00
parent 917f5c6534
commit b89d1db0e4
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -5,8 +5,8 @@
Run the following to checkout the project: Run the following to checkout the project:
```sh ```sh
git clone --recursive https://github.com/trezor/trezor-core.git git clone --recursive https://github.com/trezor/trezor-firmware.git
cd trezor-core cd trezor-firmware/core
``` ```
If you are building from an existing checkout, don't forget to use the following to refresh the submodules: If you are building from an existing checkout, don't forget to use the following to refresh the submodules:
@ -41,6 +41,14 @@ Install the required packages, depending on your operating system.
sudo pacman -S scons sdl2 sdl2_image sudo pacman -S scons sdl2 sdl2_image
``` ```
* __NixOS__:
There is a `shell.nix` file in the root of the project. Just run the following **before** entering the `core` directory:
```sh
nix-shell
```
* __Mac OS X__: * __Mac OS X__:
```sh ```sh