Skip to content

bug: gpg-agent fish shell error #8110

@meflove

Description

@meflove

Are you following the right branch?

  • My Nixpkgs and Home Manager versions are in sync

Is there an existing issue for this?

  • I have searched the existing issues

Issue description

After the last commits, an error occurs when sourcing the config.

source ~/.config/fish/config.fish
~/.config/fish/config.fish (line 22): Missing end to balance this begin
status is-interactive; and begin
                           ^~~~^
from sourcing file ~/.config/fish/config.fish
source: Error while reading file “/home/angeldust/.config/fish/config.fish”

When I added an extra "end" to the fish config, I got this error

~/.config/fish/config.fish (line 139): Expected a string, but found a redirection
 > /dev/null
 ^~~~~~~~~~^
from sourcing file ~/.config/fish/config.fish
source: Error while reading file “/home/angeldust/.config/fish/config.fish”

After turning off the GPG agent, I no longer received errors

Maintainer CC

@rycee

System information

nix-shell -p nix-info --run "nix-info -m"
fetching path input 'path:/nix/store/p6gvrb36n5dh0cdg6d77rkpapy5kc0gq-source'
 - system: `"x86_64-linux"`
 - host os: `Linux 6.17.5-cachyos, NixOS, 25.11 (Xantusia), 25.11.20251028.08dacfc`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Lix, like Nix) 2.94.0-pre20251101-dev_85db5e3
System type: x86_64-linux
Additional system types: i686-linux, x86_64-v1-linux, x86_64-v2-linux, x86_64-v3-linux
Features: gc, signed-caches
System configuration file: /etc/nix/nix.conf
User configuration files: /home/angeldust/.config/nix/nix.conf:/etc/xdg/nix/nix.conf:/home/angeldust/.local/share/flatpak/exports/etc/xdg/nix/nix.conf:/var/lib/flatpak/exports/etc/xdg/nix/nix.conf:/home/angeldust/.nix-profile/etc/xdg/nix/nix.conf:/nix/profile/etc/xdg/nix/nix.conf:/home/angeldust/.local/state/nix/profile/etc/xdg/nix/nix.conf:/etc/profiles/per-user/angeldust/etc/xdg/nix/nix.conf:/nix/var/nix/profiles/default/etc/xdg/nix/nix.conf:/run/current-system/sw/etc/xdg/nix/nix.conf
Store directory: /nix/store
State directory: /nix/var/nix
Data directory: /nix/store/iqkllfqcfilmaylmwnkbngmvpdwsilcp-lix-2.94.0-pre20251101-dev_85db5e3/share`
 - nixpkgs: `/nix/store/p6gvrb36n5dh0cdg6d77rkpapy5kc0gq-source`

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugtriageIssues or feature request that have not been triaged yet

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions