Import From Derivation: Difference between revisions
imported>Asymmetric Clarify example documentation |
imported>Asymmetric Undo revision 6945 by Asymmetric (talk) |
||
| Line 29: | Line 29: | ||
# Import the derivation. This forces `derivation-to-import` to become | # Import the derivation. This forces `derivation-to-import` to become | ||
# a string. This is normal behavior for Nix and Nixpkgs. The | # a string. This is normal behavior for Nix and Nixpkgs. The specific | ||
# | # difference here is the evaluation itself requires the result to be | ||
# the | # built during the evaluation in order to continue evaluating. | ||
imported-derivation = import derivation-to-import; | imported-derivation = import derivation-to-import; | ||