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
Consider the following example (which I'm afraid I can't release the code to), where I want to update an attribute under the name psql_15/exts/pg_hashids — traceback and some fluff omitted:
pkg = flake.packages.${currentSystem}.psql_15/exts/pg_hashids or flake.psql_15/exts/pg_hashids;
The name is generated by way of flattenTree from flake-utils so, it isn't exactly a super strange case IMO. I think just enclosing the name in general is enough if there's a slash. Really, we could just do this unconditionally, since there isn't any real difference between x.y and x."y" other than variable interpolation?
The following command works, in contrast, but is obviously strange:
Consider the following example (which I'm afraid I can't release the code to), where I want to update an attribute under the name
psql_15/exts/pg_hashids
— traceback and some fluff omitted:The error'ing line itself is pretty clear:
The name is generated by way of
flattenTree
fromflake-utils
so, it isn't exactly a super strange case IMO. I think just enclosing the name in general is enough if there's a slash. Really, we could just do this unconditionally, since there isn't any real difference betweenx.y
andx."y"
other than variable interpolation?The following command works, in contrast, but is obviously strange:
nix-update --flake --version=branch \"psql_15/exts/pg_hashids\"
The text was updated successfully, but these errors were encountered: