mlvzk / manix

A fast CLI documentation searcher for Nix.
Mozilla Public License 2.0
361 stars 19 forks source link

Failed to update NixOS Options #19

Closed austinbutler closed 3 years ago

austinbutler commented 4 years ago
Building Nixpkgs comments cache...
Building Home Manager Options cache...
Building NixOS Options cache...
Failed to update NixOS Options

Caused by:
    0: Failed to perform IO on a cache file
    1: No such file or directory (os error 2)

manix 0.6.2 macOS

mlvzk commented 4 years ago

What channel are you on?

austinbutler commented 4 years ago
❯ nix-channel --list
home-manager https://github.com/rycee/home-manager/archive/master.tar.gz
nixpkgs https://nixos.org/channels/nixpkgs-unstable
nrdxp commented 3 years ago

This is still an issue. Any ideas?

The issue was introduced somewhere between the 20.03 and 20.09 releases as:

NIX_PATH=nixpkgs=channel:nixos-20.03 manix -u foo

works but:

NIX_PATH=nixpkgs=channel:nixos-20.09 manix -u foo

fails with this error

mlvzk commented 3 years ago

This should be fixed on version 0.6.3.

Sorry for taking so long, I only now updated to 20.09 from 20.03.