fix(modules): pass version to mkOptionDoc correctly (#153)

This commit is contained in:
seth 2024-04-29 20:35:57 +00:00 committed by GitHub
parent 0ebf33fe97
commit f46dffa334
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -31,7 +31,7 @@
packages = forAllSystems (pkgs:
let
version = self.shortRev or self.dirtyShortRev or "unknown";
mkOptionDoc = args: (pkgs.callPackage ./option-doc.nix { }) args // { inherit version; };
mkOptionDoc = args: (pkgs.callPackage ./option-doc.nix { }) (args // { inherit version; });
in
{
nixos-doc = mkOptionDoc {