"docs/vscode:/vscode.git/clone" did not exist on "ee13b623cdca1c7ef76c357b216061d72f7beb4a"
Commit c3f95386 authored by Marc Raiser's avatar Marc Raiser
Browse files

remove default.nix

parent 4c4c730a
with (import <nixpkgs> {});
let
LLP = with pkgs; [
gcc11
cudatoolkit
linuxPackages.nvidia_x11
go
cmake
];
LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath LLP;
in
stdenv.mkDerivation {
name = "ollama-env";
buildInputs = LLP;
src = null;
# IMPORTANT: Edit ./llm/generate/gen_linux.sh
shellHook = ''
SOURCE_DATE_EPOCH=$(date +%s)
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}
export CUDA_LIB_DIR=${cudatoolkit.out}/lib
export CUDART_LIB_DIR=${cudatoolkit.lib}/lib
export NVCC_PREPEND_FLAGS='-ccbin ${gcc11}/bin/'
'';
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment