Spaces:
Runtime error
Runtime error
Download shell.nix from Myxogastria0808/web-api-template: direct link, hf CLI and curl.
- Browser
- Download file 720 Bytes
-
https://huggingface.co/spaces/Myxogastria0808/web-api-template/resolve/main/shell.nix
- Command line
-
hf download hf://spaces/Myxogastria0808/web-api-template/shell.nix
-
curl -L -o shell.nix https://huggingface.co/spaces/Myxogastria0808/web-api-template/resolve/main/shell.nix
720 Bytes
| let | |
| pkgs = import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/658e7223191d2598641d50ee4e898126768fe847.tar.gz") {}; | |
| rpkgs = builtins.attrValues { | |
| inherit (pkgs.rPackages) | |
| plumber | |
| languageserver; | |
| }; | |
| system_packages = builtins.attrValues { | |
| inherit (pkgs) | |
| httpie | |
| glibcLocales | |
| nix | |
| quarto | |
| R; | |
| }; | |
| in | |
| pkgs.mkShell { | |
| LOCALE_ARCHIVE = if pkgs.system == "x86_64-linux" then "${pkgs.glibcLocales}/lib/locale/locale-archive" else ""; | |
| LANG = "en_US.UTF-8"; | |
| LC_ALL = "en_US.UTF-8"; | |
| LC_TIME = "en_US.UTF-8"; | |
| LC_MONETARY = "en_US.UTF-8"; | |
| LC_PAPER = "en_US.UTF-8"; | |
| LC_MEASUREMENT = "en_US.UTF-8"; | |
| buildInputs = [ rpkgs system_packages ]; | |
| } |