Skip to content

Commit 0398333

Browse files
committed
roles/kvm: fix option description eval
`literalExpression` was not taken from lib and hence caused the fc-search eval to fail. I also checked all other occurances of `literalExpressions` in the platform code. Almost all of them ar placed after a global `with lib;` which is bad style but at least causes them to eval fine. PL-133423
1 parent fe202d8 commit 0398333

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nixos/roles/kvm.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ in
3535
Can be replaced for development and testing purposes.
3636
'';
3737
default = cephPkgs.fc-qemu;
38-
defaultText = literalExpression "pkgs.fc.qemu [parameterised with cephRelease]";
38+
defaultText = lib.literalMD "`pkgs.fc.qemu` *[parameterised with cephRelease]*";
3939
};
4040
cephRelease = fclib.ceph.releaseOption // {
4141
description = "Codename of the Ceph release series used by qemu.";

0 commit comments

Comments
 (0)