diff options
author | sterni <sternenseemann@systemli.org> | 2023-05-31T10·48+0200 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2023-05-31T10·55+0000 |
commit | 830bc9961af0947a5e14948808f19145afa7ddc7 (patch) | |
tree | c99a62de4c49b358a29781fcf113b3c8a8109ef9 | |
parent | 2b0b4cadbd67d768419e71e918c105b26eb57ca7 (diff) |
chore: remove comments formerly meant for alignment r/6224
/**/ is a nice way to align if statements which doesn't work with nixpkgs-fmt, since it'll reflow the comment to the line preceding the if. Consequently, we can delete these comments now. Change-Id: Ifa5327f846a903e07607b21f8eedbc32fc36f758 Reviewed-on: https://cl.tvl.fyi/c/depot/+/8689 Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI
-rw-r--r-- | nix/buildLisp/default.nix | 1 | ||||
-rw-r--r-- | nix/sparseTree/default.nix | 1 | ||||
-rw-r--r-- | users/sterni/nix/string/default.nix | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/nix/buildLisp/default.nix b/nix/buildLisp/default.nix index eb85f0ff519d..0d68a2818b7d 100644 --- a/nix/buildLisp/default.nix +++ b/nix/buildLisp/default.nix @@ -513,7 +513,6 @@ let # See https://ccl.clozure.com/docs/ccl.html#building-definitions faslExt = - /**/ if targetPlatform.isPower && targetPlatform.is32bit then "pfsl" else if targetPlatform.isPower && targetPlatform.is64bit then "p64fsl" else if targetPlatform.isx86_64 && targetPlatform.isLinux then "lx64fsl" diff --git a/nix/sparseTree/default.nix b/nix/sparseTree/default.nix index bf56a5348ca3..7bfa47237869 100644 --- a/nix/sparseTree/default.nix +++ b/nix/sparseTree/default.nix @@ -45,7 +45,6 @@ let let withLeading = p: if builtins.substring 0 1 p == "/" then p else "/" + p; fullPath = - /**/ if builtins.isPath path then path else if builtins.isString path then (root + withLeading path) else builtins.throw "Unsupported path type ${builtins.typeOf path}"; diff --git a/users/sterni/nix/string/default.nix b/users/sterni/nix/string/default.nix index 852ef2538fdc..381c8ddff748 100644 --- a/users/sterni/nix/string/default.nix +++ b/users/sterni/nix/string/default.nix @@ -87,7 +87,6 @@ let ({ out ? "", argIndex ? 0 }: token: { argIndex = argIndex + (if specifierWithArg token then 1 else 0); out = - /**/ if token == "%s" then out + builtins.elemAt args argIndex else if token == "%%" then out + "%" else if isSpecifier token then throw "Unsupported format specifier ${token}" |