From c547c3fe8262270ab8ddf129ec2bb8ebd4a38766 Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Fri, 12 Oct 2018 15:34:57 -0400 Subject: [PATCH] nixpkgs docs: document toDerivation --- doc/functions/library/attrsets.xml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/doc/functions/library/attrsets.xml b/doc/functions/library/attrsets.xml index f671c5f4e4b..222b4a88291 100644 --- a/doc/functions/library/attrsets.xml +++ b/doc/functions/library/attrsets.xml @@ -1274,4 +1274,30 @@ lib.attrsets.isDerivation "foobar" ]]> + +
+ <function>lib.attrsets.toDerivation</function> + + toDerivation :: Path -> Derivation + + + + + + Converts a store path to a fake derivation. + + + + + + path + + + + A store path to convert to a derivation. + + + + +