Download flake.nix from nmarshall/urt-rs: direct link, hf CLI and curl.
- Browser
- Download file 640 Bytes
-
https://huggingface.co/nmarshall/urt-rs/resolve/main/flake.nix
- Command line
-
hf download hf://nmarshall/urt-rs/flake.nix
-
curl -L -o flake.nix https://huggingface.co/nmarshall/urt-rs/resolve/main/flake.nix
640 Bytes
| { | |
| description = "Urban Terror reverse engineering and Rust development tools"; | |
| inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-26.05"; | |
| outputs = { nixpkgs, ... }: | |
| let | |
| systems = [ "aarch64-darwin" "x86_64-darwin" "aarch64-linux" "x86_64-linux" ]; | |
| in { | |
| devShells = nixpkgs.lib.genAttrs systems (system: | |
| let pkgs = import nixpkgs { inherit system; }; | |
| in { | |
| default = pkgs.mkShell { | |
| packages = with pkgs; [ python3 rustc cargo git pkg-config ]; | |
| PYTHON = "${pkgs.python3}/bin/python3"; | |
| RUSTC = "${pkgs.rustc}/bin/rustc"; | |
| }; | |
| }); | |
| }; | |
| } | |