Skip to content

konsole: fix passing store path to customColorSchemes#638

Open
scarlet-storm wants to merge 1 commit into
nix-community:trunkfrom
scarlet-storm:konsole-colorscheme
Open

konsole: fix passing store path to customColorSchemes#638
scarlet-storm wants to merge 1 commit into
nix-community:trunkfrom
scarlet-storm:konsole-colorscheme

Conversation

@scarlet-storm

@scarlet-storm scarlet-storm commented Jul 11, 2026

Copy link
Copy Markdown

Regression from #564 passing store paths for
programs.konsole.customColorSchemes no longer works. builtins.isPath is only true for primitive types and not string interpolated nix store paths (eg. "${pkgs.foo}/bar.colorscheme"). this causes iniFormat.generate to be called for store paths. Instead use lib.types.path.check which uses the same check as lib.types.path (primitive path or strings starting with /)

Regression from nix-community#564 passing store paths for
programs.konsole.customColorSchemes no longer works.
builtins.isPath is only true for primitive types and not string
interpolated nix store paths (eg. "${pkgs.foo}/bar.colorscheme"). this
causes iniFormat.generate to be called for store paths. Instead use
lib.types.path.check which uses the same check as lib.types.path
(primitive path or strings starting with /)
@scarlet-storm scarlet-storm changed the title konsole: fix passing store path to colorscheme konsole: fix passing store path to customColorSchemes Jul 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant