fix: Changes outputs, nix flake show
now completes (#280)
Removed the `default` attribute from `outputs.formatter.<system>`, instead parse the formatter derivation directly. This fixes the issue that `nix flake show` doesn't complete. Co-authored-by: sntx <sntx.htqjd@simplelogin.com>
This commit is contained in:
parent
8afe66ab31
commit
167a4ea0ae
1 changed files with 1 additions and 3 deletions
|
@ -60,8 +60,6 @@
|
|||
}
|
||||
);
|
||||
|
||||
formatter = nixpkgs.lib.genAttrs targetSystems (system: {
|
||||
default = (pkgsFor system).nixfmt-rfc-style;
|
||||
});
|
||||
formatter = nixpkgs.lib.genAttrs targetSystems (system: (pkgsFor system).nixfmt-rfc-style);
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue