Skip to content

Commit 3c3e88f

Browse files
authored
Merge pull request #517 from cachix/docs-fix-defaults
2 parents 43983c5 + 92e4fb6 commit 3c3e88f

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

modules/hooks.nix

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,6 @@ in
167167
type = types.nullOr types.path;
168168
description = "`biome` binary path. E.g. if you want to use the `biome` in `node_modules`, use `./node_modules/.bin/biome`.";
169169
default = null;
170-
defaultText = "\${tools.biome}/bin/biome";
171170
};
172171

173172
write =
@@ -506,7 +505,6 @@ in
506505
type = types.nullOr types.str;
507506
description = "flynt binary path. Can be used to specify the flynt binary from an existing Python environment.";
508507
default = null;
509-
defaultText = "\${hooks.flynt.package}/bin/flynt";
510508
};
511509
dry-run =
512510
mkOption {

modules/pre-commit.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ in
205205
'';
206206
readOnly = true;
207207
default = run;
208-
defaultText = "<derivation>";
208+
defaultText = lib.literalExpression "<derivation>";
209209
};
210210

211211
installationScript =

0 commit comments

Comments
 (0)