Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 1.29 KB

File metadata and controls

41 lines (26 loc) · 1.29 KB

pspdev-nix

Nix flake that provides a PSP development toolchain.

Getting started

Make sure flakes are enabled. If you don't have Nix, install it from here. This installer can enable flakes for you. If the binary cache is not being used, make sure you added yourself as a trusted user to /etc/nix/nix.conf.

Then create a new project using:

nix flake new --refresh --template github:pspdev/pspdev-nix#cmake project_dir

You can also initialize in the current directory with:

nix flake init --refresh --template github:pspdev/pspdev-nix#cmake

--refresh is specified as templates may change over time upstream, so this way you will always make new projects using the latest templates.

Binary cache

This flake is built and cached on Cachix:

  • Cache: https://pspdev.cachix.org
  • Public key: pspdev.cachix.org-1:lFw1M0EYJeN3Y2xHR7spiuPmThrNDXo8Z9I0Jgzig/0=

To use it, add the following to your Nix configuration:

substituters = [ "https://pspdev.cachix.org" ];
trusted-public-keys = [ "pspdev.cachix.org-1:lFw1M0EYJeN3Y2xHR7spiuPmThrNDXo8Z9I0Jgzig/0=" ];

License

This project is licensed under the Apache License 2.0. See the LICENSE.txt file for more details.