ollama-cuda 0.3.5 -> 0.3.6 https://github.com/ollama/ollama/releases attrpath: ollama-cuda Checking auto update branch... No auto update branch exists [version] [version] generic version rewriter does not support multiple hashes [rustCrateVersion] [rustCrateVersion] No cargoSha256 or cargoHash found [golangModuleVersion] [golangModuleVersion] Found old vendorHash = "sha256-hSxcREAujhvzHVNwnRTfhi0MKI3s8HNavER2VLz6SYk=" [golangModuleVersion] Replaced vendorHash with sha256-hSxcREAujhvzHVNwnRTfhi0MKI3s8HNavER2VLz6SYk= Received ExitFailure 1 when running Raw command: /nix/store/hvkjjva2knprwmqaa989wrxhlw3zc19v-nix-2.18.5/bin/nix-build --option sandbox true --arg config "{ allowBroken = true; allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A ollama-cuda Received ExitFailure 1 when running Raw command: /nix/store/hvkjjva2knprwmqaa989wrxhlw3zc19v-nix-2.18.5/bin/nix --extra-experimental-features nix-command log -f . ollama-cuda Standard output: error: … while calling the 'derivationStrict' builtin at /builtin/derivation.nix:9:12: (source not available) … while evaluating derivation 'ollama-0.3.6' whose name attribute is located at /var/cache/nixpkgs-update/worker/worktree/ollama-cuda/pkgs/stdenv/generic/make-derivation.nix:336:7 … while evaluating attribute 'CUDA_LIB_DIR' of derivation 'ollama-0.3.6' at /var/cache/nixpkgs-update/worker/worktree/ollama-cuda/pkgs/by-name/ol/ollama/package.nix:148:38: 147| }) 148| // (lib.optionalAttrs enableCuda { CUDA_LIB_DIR = "${cudaToolkit}/lib"; }) | ^ 149| // { (stack trace truncated; use '--show-trace' to show the full trace) error: Package ‘cuda_nvcc-12.2.140’ in /var/cache/nixpkgs-update/worker/worktree/ollama-cuda/pkgs/development/cuda-modules/generic-builders/manifest.nix:310 has an unfree license (‘CUDA EULA’), refusing to evaluate. a) To temporarily allow unfree packages, you can use an environment variable for a single invocation of the nix tools. $ export NIXPKGS_ALLOW_UNFREE=1 Note: When using `nix shell`, `nix build`, `nix develop`, etc with a flake, then pass `--impure` in order to allow use of environment variables. b) For `nixos-rebuild` you can set { nixpkgs.config.allowUnfree = true; } in configuration.nix to override this. Alternatively you can configure a predicate to allow specific packages: { nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ "cuda_nvcc" ]; } c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add { allowUnfree = true; } to ~/.config/nixpkgs/config.nix.