Closed MarkRijckenberg closed 2 months ago
Steps to reproduce the behavior:
1) Use unstable 2) nix-shell -p ollama
nix-shell -p ollama these 2 derivations will be built: /nix/store/6di59yfbcc7p2sbg9cd4szm8rr66diyx-source.drv /nix/store/hi787lr3x1m7y1nakpig5c43rbplf2dp-ollama-0.3.1.drv building '/nix/store/6di59yfbcc7p2sbg9cd4szm8rr66diyx-source.drv'... sourcing setup hook '/nix/store/dv5vgsw8naxnkcc88x78vprbnn1pp44y-patchelf-0.15.0/nix-support/setup-hook' sourcing setup hook '/nix/store/i4iynx9axbq23sd0gyrc5wdb46zz6z8l-update-autotools-gnu-config-scripts-hook/nix-support/setup-hook' sourcing setup hook '/nix/store/h9lc1dpi14z7is86ffhl3ld569138595-audit-tmpdir.sh' sourcing setup hook '/nix/store/m54bmrhj6fqz8nds5zcj97w9s9bckc9v-compress-man-pages.sh' sourcing setup hook '/nix/store/wgrbkkaldkrlrni33ccvm3b6vbxzb656-make-symlinks-relative.sh' sourcing setup hook '/nix/store/5yzw0vhkyszf2d179m0qfkgxmp5wjjx4-move-docs.sh' sourcing setup hook '/nix/store/fyaryjvghbkpfnsyw97hb3lyb37s1pd6-move-lib64.sh' sourcing setup hook '/nix/store/kd4xwxjpjxi71jkm6ka0np72if9rm3y0-move-sbin.sh' sourcing setup hook '/nix/store/pag6l61paj1dc9sv15l7bm5c17xn5kyk-move-systemd-user-units.sh' sourcing setup hook '/nix/store/jivxp510zxakaaic7qkrb7v1dd2rdbw9-multiple-outputs.sh' sourcing setup hook '/nix/store/ilaf1w22bxi6jsi45alhmvvdgy4ly3zs-patch-shebangs.sh' sourcing setup hook '/nix/store/cickvswrvann041nqxb0rxilc46svw1n-prune-libtool-files.sh' sourcing setup hook '/nix/store/xyff06pkhki3qy1ls77w10s0v79c9il0-reproducible-builds.sh' sourcing setup hook '/nix/store/aazf105snicrlvyzzbdj85sx4179rpfp-set-source-date-epoch-to-latest.sh' sourcing setup hook '/nix/store/gps9qrh99j7g02840wv5x78ykmz30byp-strip.sh' exporting https://github.com/ollama/ollama.git (rev v0.3.1) into /nix/store/fwkizm15h9alyfaf2ibx5xyv707rkbff-source Initialized empty Git repository in /nix/store/fwkizm15h9alyfaf2ibx5xyv707rkbff-source/.git/ remote: Enumerating objects: 539, done. remote: Counting objects: 100% (539/539), done. remote: Compressing objects: 100% (476/476), done. remote: Total 539 (delta 40), reused 284 (delta 28), pack-reused 0 Receiving objects: 100% (539/539), 1.62 MiB | 4.77 MiB/s, done. Resolving deltas: 100% (40/40), done. From https://github.com/ollama/ollama * tag v0.3.1 -> FETCH_HEAD Switched to a new branch 'fetchgit' Submodule 'llama.cpp' (https://github.com/ggerganov/llama.cpp.git) registered for path 'llm/llama.cpp' Cloning into '/nix/store/fwkizm15h9alyfaf2ibx5xyv707rkbff-source/llm/llama.cpp'... remote: Enumerating objects: 1063, done. remote: Counting objects: 100% (1063/1063), done. remote: Compressing objects: 100% (801/801), done. remote: Total 1063 (delta 251), reused 672 (delta 215), pack-reused 0 Receiving objects: 100% (1063/1063), 17.67 MiB | 13.61 MiB/s, done. Resolving deltas: 100% (251/251), done. remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0 remote: Enumerating objects: 92, done. remote: Counting objects: 100% (92/92), done. remote: Compressing objects: 100% (45/45), done. Unpacking objects: 100% (47/47), 20.31 KiB | 292.00 KiB/s, done. remote: Total 47 (delta 44), reused 3 (delta 2), pack-reused 0 From https://github.com/ggerganov/llama.cpp * branch 6eeaeba126ff701f3e8f79f246805b7023709972 -> FETCH_HEAD Submodule path 'llm/llama.cpp': checked out '6eeaeba126ff701f3e8f79f246805b7023709972' Submodule 'kompute' (https://github.com/nomic-ai/kompute.git) registered for path 'llm/llama.cpp/ggml/src/kompute' Cloning into '/nix/store/fwkizm15h9alyfaf2ibx5xyv707rkbff-source/llm/llama.cpp/ggml/src/kompute'... remote: Enumerating objects: 361, done. remote: Counting objects: 100% (361/361), done. remote: Compressing objects: 100% (299/299), done. remote: Total 361 (delta 44), reused 202 (delta 22), pack-reused 0 Receiving objects: 100% (361/361), 11.71 MiB | 13.23 MiB/s, done. Resolving deltas: 100% (44/44), done. remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0 remote: Enumerating objects: 18, done. remote: Counting objects: 100% (18/18), done. remote: Compressing objects: 100% (10/10), done. remote: Total 10 (delta 7), reused 2 (delta 0), pack-reused 0 Unpacking objects: 100% (10/10), 1.58 KiB | 1.58 MiB/s, done. From https://github.com/nomic-ai/kompute * branch 4565194ed7c32d1d2efa32ceab4d3c6cae006306 -> FETCH_HEAD Submodule path 'llm/llama.cpp/ggml/src/kompute': checked out '4565194ed7c32d1d2efa32ceab4d3c6cae006306' removing `.git'... error: hash mismatch in fixed-output derivation '/nix/store/6di59yfbcc7p2sbg9cd4szm8rr66diyx-source.drv': specified: sha256-iD7LX4OstnNL2FZKObh4z9krkN0sfUUbFEZxu6OvdBs= got: sha256-ctz9xh1wisG0YUxglygKHIvU9bMgMLkGqDoknb8qSAU= error: 1 dependencies of derivation '/nix/store/hi787lr3x1m7y1nakpig5c43rbplf2dp-ollama-0.3.1.drv' failed to build
fastfetch ulysses@ulysses-desktop ----------------------- ▗▄▄▄ ▗▄▄▄▄ ▄▄▄▖ OS -> NixOS ▜███▙ ▜███▙ ▟███▛ ├ -> vicuna 24.11 (Vicuna) ▜███▙ ▜███▙▟███▛ ├ -> Linux 6.10.2 ▜███▙ ▜██████▛ ├ -> 1 (flatpak) ▟█████████████████▙ ▜████▛ ▟▙ └ -> bash 5.2.26 ▟███████████████████▙ ▜███▙ ▟██▙ ▄▄▄▄▖ ▜███▙ ▟███▛ DE/WM -> KWin (Wayland) ▟███▛ ▜██▛ ▟███▛ ├ -> gdm-password (Wayland) ▟███▛ ▜▛ ▟███▛ ├ -> Breeze ▟███████████▛ ▟██████████▙ ├ -> breeze [Qt] ▜██████████▛ ▟███████████▛ ├ -> warp v0.2024.07.16.08.02.stable_03 ▟███▛ ▟▙ ▟███▛ └ -> stylix ▟███▛ ▟██▙ ▟███▛ ▟███▛ ▜███▙ ▝▀▀▀▀ PC -> MS-7E12 (1.0) ▜██▛ ▜███▙ ▜██████████████████▛ ├ -> AMD Ryzen 7 7800X3D (16) @ 5.05 GHz ▜▛ ▟████▙ ▜████████████████▛ ├ -> AMD Raphael [Integrated] ▟██████▙ ▜███▙ ├ -> NVIDIA GeForce RTX 4070 [Discrete] ▟███▛▜███▙ ▜███▙ ├ -> 423.18 GiB / 914.41 GiB (46%) - ext4 ▟███▛ ▜███▙ ▜███▙ ├ -> 461.25 GiB / 931.08 GiB (50%) - fuseblk ▝▀▀▀ ▀▀▀▀▘ ▀▀▀▘ ├ -> 4.79 GiB / 61.99 GiB (8%) ├ -> Disabled ├ -> 4 mins └ -> 2560x1440 @ 144 Hz (as 1706x960) in 27″ [External]
@abysssol @dit7ya @elohmeier @redyf
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
nix-shell -p nix-info --run "nix-info -m"
nix-shell -p nix-info --run "nix-info -m" - system: `"x86_64-linux"` - host os: `Linux 6.10.2, NixOS, 24.11 (Vicuna), 24.11.20240731.9f918d6` - multi-user?: `yes` - sandbox: `yes` - version: `nix-env (Nix) 2.18.5` - channels(root): `"nixos-23.11-23.11"` - nixpkgs: `/etc/nix/path/nixpkgs`
Add a :+1: reaction to issues you find important.
Fixed in ab2c4b7. Please wait until the fix trickles down to the nixos-unstable channel.
nixos-unstable
Steps To Reproduce
Steps to reproduce the behavior:
1) Use unstable 2) nix-shell -p ollama
Build log
Additional context
Notify maintainers
@abysssol @dit7ya @elohmeier @redyf
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Add a :+1: reaction to issues you find important.