faissWithCuda 1.7.4 -> 1.8.0 https://github.com/facebookresearch/faiss/releases attrpath: faissWithCuda Checking auto update branch... No auto update branch exists [version] [version] updated version and sha256 [rustCrateVersion] [rustCrateVersion] No cargoSha256 or cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorSha256 or vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] skipping because derivation has no updateScript Diff after rewrites: diff --git a/pkgs/development/libraries/science/math/faiss/default.nix b/pkgs/development/libraries/science/math/faiss/default.nix index 25d6542f8da1..826eecb5a783 100644 --- a/pkgs/development/libraries/science/math/faiss/default.nix +++ b/pkgs/development/libraries/science/math/faiss/default.nix @@ -27,7 +27,7 @@ let pname = "faiss"; - version = "1.7.4"; + version = "1.8.0"; inherit (cudaPackages) cudaFlags backendStdenv; inherit (cudaFlags) cudaCapabilities dropDot; @@ -57,7 +57,7 @@ stdenv.mkDerivation { owner = "facebookresearch"; repo = pname; rev = "v${version}"; - hash = "sha256-WSce9X6sLZmGM5F0ZkK54VqpIy8u1VB0e9/l78co29M="; + hash = "sha256-nS8nhkNGGb2oAJKfr/MIAZjAwMxBGbNd16/CkEtv67I="; }; buildInputs = [ Received ExitFailure 1 when running Raw command: /nix/store/v7gdmdc9yhx3ngh840xx5kr46840s73b-nix-2.18.2/bin/nix-build --option sandbox true --arg config "{ allowBroken = true; allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A faissWithCuda Received ExitFailure 1 when running Raw command: /nix/store/v7gdmdc9yhx3ngh840xx5kr46840s73b-nix-2.18.2/bin/nix --extra-experimental-features nix-command log -f . faissWithCuda Standard output: error: … while calling the 'derivationStrict' builtin at /builtin/derivation.nix:9:12: (source not available) … while evaluating derivation 'faiss-1.8.0' whose name attribute is located at /var/cache/nixpkgs-update/worker/worktree/faissWithCuda/pkgs/stdenv/generic/make-derivation.nix:331:7 … while evaluating attribute 'buildInputs' of derivation 'faiss-1.8.0' at /var/cache/nixpkgs-update/worker/worktree/faissWithCuda/pkgs/stdenv/generic/make-derivation.nix:378:7: 377| depsHostHost = elemAt (elemAt dependencies 1) 0; 378| buildInputs = elemAt (elemAt dependencies 1) 1; | ^ 379| depsTargetTarget = elemAt (elemAt dependencies 2) 0; (stack trace truncated; use '--show-trace' to show the full trace) error: Package ‘cuda_cudart-12.2.140’ in /var/cache/nixpkgs-update/worker/worktree/faissWithCuda/pkgs/development/cuda-modules/generic-builders/manifest.nix:319 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_cudart-12.2.140" ]; } c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add { allowUnfree = true; } to ~/.config/nixpkgs/config.nix.