Import From Derivation: Difference between revisions
imported>Asymmetric m fix code syntax |
imported>Asymmetric Clarify example documentation |
||
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 string is | ||
# | # then evaluated, which in this case triggers a build, which blocks | ||
# | # the single-threaded evaluation. | ||
imported-derivation = import derivation-to-import; | imported-derivation = import derivation-to-import; | ||