File tree Expand file tree Collapse file tree 3 files changed +4
-6
lines changed
Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 131131 nixAndTOMLOrdered = optionsDocsPartitionedIsNixOnly . wrong ;
132132 nixExtra = optionsDocsPartitionedIsMain . wrong ;
133133 concatOpts = opts : ( concatStringsSep "\n \n " ( map optToMd opts ) ) ;
134-
134+
135135 # TODO: handle opt.relatedPackages. What is it for?
136136 optToMd = opt :
137137 let heading = lib . showOption ( filter isString opt . loc ) + concatStrings ( filter ( x : ! ( isString x ) ) opt . loc ) ; in
Original file line number Diff line number Diff line change 4646 } ]
4747 else alternative ;
4848
49- unknownFileName = "<unknown>" ;
50-
51- normalizeCommandsFlat_ = { file ? unknownFileName , loc ? [ ] , arg ? [ ] } :
49+ normalizeCommandsFlat_ = { file ? unknownModule , loc ? [ ] , arg ? [ ] } :
5250 pipe arg [
5351 ( value : ( mergeDefs loc [ { inherit file value ; } ] ) . defsFlat )
5452 ( map ( config : flattenNonAttrsOrElse config config ) )
6967 ] ;
7068
7169
72- normalizeCommandsNested_ = { file ? unknownFileName , loc ? [ ] , arg ? { } } :
70+ normalizeCommandsNested_ = { file ? unknownModule , loc ? [ ] , arg ? { } } :
7371 pipe arg [
7472 # typecheck and augment configs with missing attributes (if a config is an attrset)
7573 ( value : ( mergeDefs loc [ { inherit file value ; } ] ) . defsNested )
Original file line number Diff line number Diff line change 11{ pkgs , devshell , runTest } :
2- let inherit ( import ../../nix/commands/devshell .nix { inherit pkgs ; } ) devshellMenuCommandName ; in
2+ let inherit ( import ../../nix/commands/lib .nix { inherit pkgs ; } ) devshellMenuCommandName ; in
33{
44 # Basic devshell usage
55 commands-1 =
You can’t perform that action at this time.
0 commit comments