Download flake.nix from juselara1/mlds7_codedata: direct link, hf CLI and curl.
- Browser
- Download file 542 Bytes
-
https://huggingface.co/datasets/juselara1/mlds7_codedata/resolve/main/flake.nix
- Command line
-
hf download hf://datasets/juselara1/mlds7_codedata/flake.nix
-
curl -L -o flake.nix https://huggingface.co/datasets/juselara1/mlds7_codedata/resolve/main/flake.nix
542 Bytes
| { | |
| inputs = { | |
| nixpkgs = { | |
| url = "github:nixos/nixpkgs/nixos-23.05"; | |
| }; | |
| flake-utils = { | |
| url = "github:numtide/flake-utils"; | |
| }; | |
| }; | |
| outputs = { nixpkgs, flake-utils, ... }: flake-utils.lib.eachDefaultSystem (system: | |
| let | |
| pkgs = import nixpkgs { | |
| inherit system; | |
| }; | |
| in rec { | |
| devShell = pkgs.mkShell { | |
| LD_LIBRARY_PATH = "${pkgs.stdenv.cc.cc.lib}/lib"; | |
| buildInputs = with pkgs; [ | |
| python311 python311Packages.pip git git-lfs | |
| ]; | |
| }; | |
| } | |
| ); | |
| } | |