Skip to content

Commit

Permalink
Document the requirement that return values be forced
Browse files Browse the repository at this point in the history
  • Loading branch information
shlevy committed Nov 24, 2014
1 parent fc4cce7 commit 38bd423
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ defined in `<nix/eval.hh>`.
The `filename` argument can be the result of a derivation, in which case
`nix-exec` will build the derivation before trying to dynamically load it.

Note that the `PrimOpFun` must return a value that is properly forced, i.e.
not a thunk or an un-called function application.

Configuration settings
-----------------------

Expand Down

0 comments on commit 38bd423

Please sign in to comment.