On my system (Fedora 43 with Nix 2.31.3) `home-manager news` exits from `SIGPIPE` and never writes `~/.local/share/home-manager/news-read-ids`, resulting in news items to never be marked read. This is caused by piping `(import ./news.nix).news.all` through `jq` and `less` failing with an error as soon as `less` exits, which triggers `set -o pipefail` to exit the shell running `home-manager` itself. Avoiding the pipe into `$PAGER` avoids the problem. Closes: https://github.com/nix-community/home-manager/issues/8690 References: https://github.com/jqlang/jq/issues/1017 References: https://www.greenend.org.uk/rjk/tech/shellmistakes.html#pipeerrors |
||
|---|---|---|
| .. | ||
| po | ||
| build-news.nix | ||
| completion.bash | ||
| completion.fish | ||
| completion.zsh | ||
| default.nix | ||
| home-manager | ||
| home-manager.nix | ||
| install.nix | ||