gurobi 9.5.1 -> 11.0.1 https://repology.org/project/gurobi/versions attrpath: gurobi 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/applications/science/math/gurobi/default.nix b/pkgs/applications/science/math/gurobi/default.nix index 35b9e9d7a8d4..2c26ffee5b53 100644 --- a/pkgs/applications/science/math/gurobi/default.nix +++ b/pkgs/applications/science/math/gurobi/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { pname = "gurobi"; - version = "9.5.1"; + version = "11.0.1"; src = fetchurl { url = "https://packages.gurobi.com/${lib.versions.majorMinor version}/gurobi${version}_linux64.tar.gz"; - sha256 = "sha256-+oKFnTPwj7iuudpmsPvZFxjtVzxTT1capSNyyd64kdo="; + sha256 = "sha256-oZ7Oz22e4k6cVF3TDFxp/pE+RuU+3p/CatTWj1ci5ZY="; }; sourceRoot = "gurobi${builtins.replaceStrings ["."] [""] version}/linux64"; Received ExitFailure 1 when running Raw command: /nix/store/1gfp7hiwzpv9aglk2yfa9m49jc0n7pa5-nix-2.18.1/bin/nix-build --option sandbox true --arg config "{ allowBroken = true; allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A gurobi Received ExitFailure 1 when running Raw command: /nix/store/1gfp7hiwzpv9aglk2yfa9m49jc0n7pa5-nix-2.18.1/bin/nix --extra-experimental-features nix-command log -f . gurobi Standard output: error: … in the condition of the assert statement at /var/cache/nixpkgs-update/worker/worktree/gurobi/lib/customisation.nix:268:17: 267| in commonAttrs // { 268| drvPath = assert condition; drv.drvPath; | ^ 269| outPath = assert condition; drv.outPath; … while evaluating the attribute 'handled' at /var/cache/nixpkgs-update/worker/worktree/gurobi/pkgs/stdenv/generic/check-meta.nix:490:7: 489| # or, alternatively, just output a warning message. 490| handled = | ^ 491| ( (stack trace truncated; use '--show-trace' to show the full trace) error: Package ‘gurobi-11.0.1’ in /var/cache/nixpkgs-update/worker/worktree/gurobi/pkgs/applications/science/math/gurobi/default.nix:47 has an unfree license (‘unfree’), 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) [ "gurobi-11.0.1" ]; } c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add { allowUnfree = true; } to ~/.config/nixpkgs/config.nix.