Skip to content

nix build handles flake references differently depending on if they explicitly say "path:" #5510

@colemickens

Description

@colemickens

Describe the bug

see: NixOS/nixpkgs#144811

It seems that nix build FOO does different things when FOO is ~/some/path vs path:~/some/path.

This might also explain another issue I found long ago, with nixos-rebuild: NixOS/nixpkgs#101648

This bug strikes me as odd, why is the path parsing code not being handled the same at this point when it's been guessed or specified as a path?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions