Skip to content

Allow using as nix3's nix shell #7

@blokyk

Description

@blokyk

Though I rarely use it myself, there's a lot of people that use the nix shell (based around flakes/installables) rather than the old nix-shell. It'd be pretty cool if this could be also used as a drop-in replacement for that, I just have to check whether or not it's possible to do the same --command trick or if i have to find another thing to hook into.

To detect which behavior we want, we could switch the command we call based on $0 (argv[0]) to detect whether we're called as nix-debug (-> nix-shell behavior) or nix3-debug (-> nix shell behavior).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions