mirror of
https://gitlab.com/Cian-H/pbf-savefile.git
synced 2025-12-22 14:22:00 +00:00
35 lines
711 B
Nix
35 lines
711 B
Nix
{
|
|
inputs = {
|
|
utils.url = "github:numtide/flake-utils";
|
|
};
|
|
|
|
inputs.nixpkgs.url = "github:NixOS/nixpkgs";
|
|
|
|
outputs = { self, nixpkgs, utils }: utils.lib.eachDefaultSystem (system:
|
|
let
|
|
pkgs = import nixpkgs {
|
|
system = "x86_64-linux";
|
|
config = {
|
|
allowUnfree = true;
|
|
cudaSupport = true;
|
|
};
|
|
};
|
|
in
|
|
{
|
|
devShell = pkgs.mkShell
|
|
{
|
|
NIX_LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath [
|
|
pkgs.stdenv.cc.cc
|
|
];
|
|
NIX_LD = pkgs.lib.fileContents "${pkgs.stdenv.cc}/nix-support/dynamic-linker";
|
|
|
|
buildInputs = with pkgs; [
|
|
rye
|
|
uv
|
|
];
|
|
};
|
|
}
|
|
);
|
|
}
|
|
|