python311Packages.bitsandbytes 0 -> 1 attrpath: python311Packages.bitsandbytes Checking auto update branch... [version] [version] skipping because derivation has updateScript [rustCrateVersion] [rustCrateVersion] No cargoSha256 or cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorSha256 or vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/v8q5p6df5590clyyqs1pxs590yl3dx0i-packages.json.drv building '/nix/store/v8q5p6df5590clyyqs1pxs590yl3dx0i-packages.json.drv'... Going to be running update for following packages: - python3.11-bitsandbytes-0.41.0 Press Enter key to continue... Running update for: - python3.11-bitsandbytes-0.41.0: UPDATING ... - python3.11-bitsandbytes-0.41.0: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/development/python-modules/bitsandbytes/default.nix b/pkgs/development/python-modules/bitsandbytes/default.nix index c511f01d6dcf..3f8c03ab2f8f 100644 --- a/pkgs/development/python-modules/bitsandbytes/default.nix +++ b/pkgs/development/python-modules/bitsandbytes/default.nix @@ -12,7 +12,7 @@ let pname = "bitsandbytes"; - version = "0.41.0"; + version = "0.42.0"; inherit (torch) cudaCapabilities cudaPackages cudaSupport; inherit (cudaPackages) backendStdenv cudaVersion; @@ -51,7 +51,7 @@ buildPythonPackage { owner = "TimDettmers"; repo = pname; rev = "refs/tags/${version}"; - hash = "sha256-e6SK2ylITookO6bhpfdRp/V4y2S9rk6Lo1PD3xXrcmM="; + hash = "sha256-PZxsFJ6WpfeQqRQrRRBZfZfNY6/TfJFLBeknX24OXcU="; }; postPatch = '' No auto update branch exists Received ExitFailure 1 when running Raw command: /nix/store/dsqs4fpljrws4ikzfriyixcp0n7kxrmk-nix-2.18.1/bin/nix-build --option sandbox true --arg config "{ allowBroken = true; allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A python311Packages.bitsandbytes Received ExitFailure 1 when running Raw command: /nix/store/dsqs4fpljrws4ikzfriyixcp0n7kxrmk-nix-2.18.1/bin/nix --extra-experimental-features nix-command log -f . python311Packages.bitsandbytes Standard output: error: … while evaluating the attribute 'drvPath' at /var/cache/nixpkgs-update/worker/worktree/python311Packages.bitsandbytes/lib/customisation.nix:267:7: 266| in commonAttrs // { 267| drvPath = assert condition; drv.drvPath; | ^ 268| outPath = assert condition; drv.outPath; … while evaluating the attribute 'drvPath' at /var/cache/nixpkgs-update/worker/worktree/python311Packages.bitsandbytes/lib/customisation.nix:267:7: 266| in commonAttrs // { 267| drvPath = assert condition; drv.drvPath; | ^ 268| outPath = assert condition; drv.outPath; (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/python311Packages.bitsandbytes/pkgs/development/cuda-modules/generic-builders/manifest.nix:325 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.