Skip to content

Channel names with . or - don't work with nix-env -iA attribute paths or don't work with nix-channel --remove #1457

Open
@CMCDragonkai

Description

@CMCDragonkai

When you create a channel with . or - in its name like: nix-channel --add https://nixos.org/channels/nixos-17.03-small nixos-17.03-small. And then you try to use it with an attribute path like nix-env -iA 'nixos-17.03-small.hello, nix-env complains that it cannot find the attribute path. But if you instead give it a name like A, then it will work!

This is happening on 1.11.15.

Metadata

Metadata

Assignees

Labels

UXThe way in which users interact with Nix. Higher level than UI.cliThe old and/or new command line interfacestale

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions