Skip to content

Add flag for passing in extra experimental features #1246

@SuNNjek

Description

@SuNNjek

I have a flake configuration that uses the experimental pipe-operators feature. When I try to run

sudo nix --experimental-features "nix-command flakes pipe-operators" run github:nix-community/disko -- --mode destroy,format,mount --flake .#host

I just get a message that the pipe-operators feature is disabled. From quickly checking the disko script, it seems that this is because it invokes nix again with its own arguments that you can't add other features to.

It would be great if an --option flag like in disko-install could be added.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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