A fast-paced 2D MMORPG.
This repository has been archived on 2024-09-29. You can view files and clone it, but cannot push or open issues or pull requests.
Find a file
Muhammad Nauman Raza bf2ed5e610
hotfix: LD_LIBRARY_PATH missing some packages
Former-commit-id: 46f6d5934d2bb304b37e44bf89b72d85ec2eb232
2023-11-27 21:44:35 +00:00
assets/fonts remove some fonts 2023-11-27 10:51:28 +00:00
src feat: some asset server improvements 2023-11-27 12:59:14 +00:00
.envrc chore: initialise repository and cargo project 2023-11-26 21:32:11 +00:00
.gitignore chore: initialise repository and cargo project 2023-11-26 21:32:11 +00:00
Cargo.lock feat: intialise fonts 2023-11-27 10:45:07 +00:00
Cargo.toml feat: intialise fonts 2023-11-27 10:45:07 +00:00
flake.lock chore: flake.lock 2023-11-27 09:09:35 +00:00
flake.nix hotfix: LD_LIBRARY_PATH missing some packages 2023-11-27 21:44:35 +00:00
README.md chore: initialise repository and cargo project 2023-11-26 21:32:11 +00:00

❄️ nix-template-rust-nightly 🦀

NixOS NixOS License

Minimal Rust development template for Nix

About

This is a minimal template for Rust development on the nightly channel.

Initialization

See the parent README for further instructions, but you can initialize this template with the following command in your current directory.

nix flake init -t github:MordragT/nix-templates#rust-nightly

Usage

  • nix develop: opens up a bash shell with the bare minimum Rust toolset (cargo & rustc) by default
  • nix build : builds the Rust project. Outputs the binary to ./result/bin/<name>
  • nix run: runs the Rust program.

Reference

  1. wiki/Flakes
  2. Fenix - used for managing Rust toolchains (read the makeRustPlatform example)
  3. rust-section of language frameworks - optional (use it for extending the template)