chore: nix fmt
This commit is contained in:
parent
db4f57777f
commit
423907b530
1 changed files with 16 additions and 15 deletions
|
|
@ -16,16 +16,17 @@ let
|
||||||
lib.unique [ homebrewBin homebrewSbin ]
|
lib.unique [ homebrewBin homebrewSbin ]
|
||||||
else
|
else
|
||||||
[ ];
|
[ ];
|
||||||
formatPathList = paths: lib.concatMapStrings (path: " \"${path}\"\n") paths;
|
formatPathList = paths:
|
||||||
|
lib.concatMapStrings (path: " \"${path}\"\n") paths;
|
||||||
in {
|
in {
|
||||||
programs.nushell.enable = lib.mkDefault true;
|
programs.nushell.enable = lib.mkDefault true;
|
||||||
|
|
||||||
programs.nushell.envFile.text = ''
|
programs.nushell.envFile.text = ''
|
||||||
let nix_paths = [
|
let nix_paths = [
|
||||||
${formatPathList [ profileBin systemBin defaultBin ]} ]
|
${formatPathList [ profileBin systemBin defaultBin ]} ]
|
||||||
|
|
||||||
let homebrew_paths = [
|
let homebrew_paths = [
|
||||||
${formatPathList homebrewPaths} ]
|
${formatPathList homebrewPaths} ]
|
||||||
|
|
||||||
let path_candidates = ($nix_paths | append $homebrew_paths | flatten)
|
let path_candidates = ($nix_paths | append $homebrew_paths | flatten)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue