-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
Closed
Closed
Copy link
Labels
0.kind: bugSomething is brokenSomething is broken6.topic: pythonPython is a high-level, general-purpose programming language.Python is a high-level, general-purpose programming language.
Description
Nixpkgs version
- Unstable (25.05)
Describe the bug
Hi,
I have been tiring to setup open-webui for ollama.
i have updated nix with nix flake update.
with this rebuild is throwing error.
Steps to reproduce
add services.open-webui.enable=true;, this should start the service for open-webui.
with latest version, its throwing error: "is marked as broken, refusing to evaluate."
Expected behaviour
rebuild should be success and open-webui access in browser.
Screenshots
error:
… while calling the 'head' builtin
at /nix/store/hjb1rqv2mfs5ny47amj2gsc8xk05x5g6-source/lib/attrsets.nix:1574:11:
1573| || pred here (elemAt values 1) (head values) then
1574| head values
| ^
1575| else
… while evaluating the attribute 'value'
at /nix/store/hjb1rqv2mfs5ny47amj2gsc8xk05x5g6-source/lib/modules.nix:846:9:
845| in warnDeprecation opt //
846| { value = addErrorContext "while evaluating the option `${showOption loc}':" value;
| ^
847| inherit (res.defsFinal') highestPrio;
… while evaluating the option `system.build.toplevel':
… while evaluating definitions from `/nix/store/hjb1rqv2mfs5ny47amj2gsc8xk05x5g6-source/nixos/modules/system/activation/top-level.nix':
… while evaluating the option `warnings':
… while evaluating definitions from `/nix/store/hjb1rqv2mfs5ny47amj2gsc8xk05x5g6-source/nixos/modules/system/boot/systemd.nix':
… while evaluating the option `systemd.services.open-webui.serviceConfig':
… while evaluating definitions from `/nix/store/hjb1rqv2mfs5ny47amj2gsc8xk05x5g6-source/nixos/modules/services/misc/open-webui.nix':
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
error: Package ‘python3.12-torch-2.5.1’ in /nix/store/hjb1rqv2mfs5ny47amj2gsc8xk05x5g6-source/pkgs/development/python-modules/torch/default.nix:664 is marked as broken, refusing to evaluate.
a) To temporarily allow broken packages, you can use an environment variable
for a single invocation of the nix tools.
$ export NIXPKGS_ALLOW_BROKEN=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.allowBroken = true; }
in configuration.nix to override this.
c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
{ allowBroken = true; }
to ~/.config/nixpkgs/config.nix.Relevant log output
Additional context
No response
System metadata
- system:
"x86_64-linux" - host os:
Linux 6.12.11, NixOS, 25.05 (Warbler), 25.05.20250201.3a22805 - multi-user?:
yes - sandbox:
yes - version:
nix-env (Nix) 2.24.12 - nixpkgs:
/nix/store/hjb1rqv2mfs5ny47amj2gsc8xk05x5g6-source
Notify maintainers
Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)
I assert that this issue is relevant for Nixpkgs
- I assert that this is a bug and not a support request.
- I assert that this is not a duplicate of an existing issue.
- I assert that I have read the NixOS Code of Conduct and agree to abide by it.
Is this issue important to you?
Add a 👍 reaction to issues you find important.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
0.kind: bugSomething is brokenSomething is broken6.topic: pythonPython is a high-level, general-purpose programming language.Python is a high-level, general-purpose programming language.