You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently upgraded my version of nix and lorri and began to encounter the following warning lines during lorri builds. It does this on every single new build, but not when loading from a cached build.
Nov 08 16:51:03.439 WARN error extending watch paths:, paths: [Normal("/Users/pd/.config/nixpkgs/config.nix"), Normal("<nix/fetchurl.nix>"), Normal("/Users/pd/Desktop/lorri-init-path-errors/shell.nix"), Normal("<nix/derivation-internal.nix>")], error: Error { kind: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" }), paths: [] }, nix_file: /Users/pd/Desktop/lorri-init-path-errors/shell.nix
I was able to create a minimal reproduction using a brand new repository where the only files were created by lorri init, you should be able to check it out here:
Hopefully you can reproduce the behavior by checking out the repository and running:
cd lorri-init-path-warnings
direnv allow .
lorri watch --once
Expected behavior
Lorri functions correctly, updates the current shell environment to add the hello binary to the $PATH.
Actual behavior
Lorri functions correctly, updates the current shell environment to add the hello binary to the $PATH, and prints the warning log visible above.
Metadata
$ lorri info --shell-file shell.nixProject Shell File: /Users/pd/Desktop/lorri-init-path-errors/shell.nixProject Garbage Collector Root: /Users/pd/Library/Caches/com.github.nix-community.lorri.lorri.lorri/gc_roots/bad6431c93487fe2821f8b802ac8a0d8/gc_root/shell_gc_rootGeneral:Lorri User GC Root Dir: /Users/pd/Library/Caches/com.github.nix-community.lorri.lorri.lorri/gc_rootsLorri Daemon Socket: /Users/pd/Library/Caches/com.github.nix-community.lorri.lorri.lorri/daemon.socketLorri Daemon Status: `lorri daemon` is running
$ uname -aDarwin pld-mbp-22 23.4.0 Darwin Kernel Version 23.4.0: Fri Mar 15 00:10:42 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_T6000 arm64 arm Darwin
Additional context
macOS 14.4.1 Sonoma
lorri 1.7.1 installed via service.lorri.enable = true; in my system flake
system flake nixpkgs (where lorri comes from) is github:NixOS/nixpkgs/85f7e662eda4fa3a995556527c87b2524b691933?narHash=sha256-JwQZIGSYnRNOgDDoIgqKITrPVil%2BRMWHsZH1eE1VGN0%3D (2024-11-07 05:50:23)
The text was updated successfully, but these errors were encountered:
peterldowns
changed the title
Lorri dispalys "error extending watch paths" warning during successful operation
Lorri displays "error extending watch paths" warning during successful operation
Nov 8, 2024
This bug is fixed in 1.7.0, which is in nixpkgs as of NixOS 24.05. Thank you for your patience!
and I'm using lorri 1.7.1. Additionally, I couldn't tell which commits or work were supposed to have fixed the problem, or how to debug further. Happy to help provide more information or even attempt to fix it myself if someone can help point the way.
Cool, thanks for the quick response. This isn't an urgent bug in any way, since the only problem is that there is a warning shown — lorri still works great. Thanks for maintaining and for the improvements you've been making, I'm looking forward to the improved flakes support!
I recently upgraded my version of nix and lorri and began to encounter the following warning lines during lorri builds. It does this on every single new build, but not when loading from a cached build.
I was able to create a minimal reproduction using a brand new repository where the only files were created by
lorri init
, you should be able to check it out here:https://github.com/peterldowns/lorri-init-path-warnings
Hopefully you can reproduce the behavior by checking out the repository and running:
Expected behavior
Lorri functions correctly, updates the current shell environment to add the
hello
binary to the$PATH
.Actual behavior
Lorri functions correctly, updates the current shell environment to add the
hello
binary to the$PATH
, and prints the warning log visible above.Metadata
Additional context
service.lorri.enable = true;
in my system flakegithub:NixOS/nixpkgs/85f7e662eda4fa3a995556527c87b2524b691933?narHash=sha256-JwQZIGSYnRNOgDDoIgqKITrPVil%2BRMWHsZH1eE1VGN0%3D (2024-11-07 05:50:23)
The text was updated successfully, but these errors were encountered: