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 have just added nix-colors to my flake, and am attempting to use it in home-manager.
I was getting errors at first because all the color values I tried were 12-character hex strings, instead of 6. Upon inspection the 12-character strings were the 6-character strings repeated twice. For example, instead of 282828 for nix-colors.colorSchemes.gruvbox-mark-medium.base00, I am getting 282828282828.
The error seems to be consistent, so I'm using builtins.subString 0 6 as a temporary workaround.
The relevant portion from my flake.lock is as follows
I have had the same problem. Thanks for the substring fix.
I've also had this issue with a variable that i defined myself. When used as part of a string interpolation, the file that was generated from it had the value placed twice.
I haven't found a fix, but maybe this suggests it's a syntax issue or maybe something upstream?
I'm new to nix so i'm not really sure how to go about diagnosing it
I have just added nix-colors to my flake, and am attempting to use it in home-manager.
I was getting errors at first because all the color values I tried were 12-character hex strings, instead of 6. Upon inspection the 12-character strings were the 6-character strings repeated twice. For example, instead of
282828
fornix-colors.colorSchemes.gruvbox-mark-medium.base00
, I am getting282828282828
.The error seems to be consistent, so I'm using
builtins.subString 0 6
as a temporary workaround.The relevant portion from my
flake.lock
is as followsThe text was updated successfully, but these errors were encountered: