mirror of
https://github.com/NixOS/nix
synced 2025-07-07 10:11:47 +02:00
fix nix help-stores
the crash when calling `nix help-stores` was probably introduced an artifact from a prior untangling of merge conflicts. that said, `nix help-stores` should eventually cease to exist in favor of dedicated `--help` outputs and `man` pages for the various store types.
This commit is contained in:
parent
d829c21ef3
commit
ac5f147afc
3 changed files with 4 additions and 4 deletions
|
@ -3,7 +3,7 @@ let
|
||||||
attrNames attrValues fromJSON listToAttrs mapAttrs groupBy
|
attrNames attrValues fromJSON listToAttrs mapAttrs groupBy
|
||||||
concatStringsSep concatMap length lessThan replaceStrings sort;
|
concatStringsSep concatMap length lessThan replaceStrings sort;
|
||||||
inherit (import <nix/utils.nix>) attrsToList concatStrings optionalString filterAttrs trim squash unique;
|
inherit (import <nix/utils.nix>) attrsToList concatStrings optionalString filterAttrs trim squash unique;
|
||||||
showStoreDocs = import ./generate-store-info.nix;
|
showStoreDocs = import <nix/generate-store-info.nix>;
|
||||||
in
|
in
|
||||||
|
|
||||||
inlineHTML: commandDump:
|
inlineHTML: commandDump:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
let
|
let
|
||||||
inherit (builtins) attrValues concatStringsSep isAttrs isBool mapAttrs;
|
inherit (builtins) attrValues concatStringsSep isAttrs isBool mapAttrs;
|
||||||
inherit (import ./utils.nix) concatStrings indent optionalString squash;
|
inherit (import <nix/utils.nix>) concatStrings indent optionalString squash;
|
||||||
in
|
in
|
||||||
|
|
||||||
# `inlineHTML` is a hack to accommodate inconsistent output from `lowdown`
|
# `inlineHTML` is a hack to accommodate inconsistent output from `lowdown`
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
let
|
let
|
||||||
inherit (builtins) attrValues mapAttrs;
|
inherit (builtins) attrValues mapAttrs;
|
||||||
inherit (import ./utils.nix) concatStrings optionalString;
|
inherit (import <nix/utils.nix>) concatStrings optionalString;
|
||||||
showSettings = import ./generate-settings.nix;
|
showSettings = import <nix/generate-settings.nix>;
|
||||||
in
|
in
|
||||||
|
|
||||||
inlineHTML: storesInfo:
|
inlineHTML: storesInfo:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue