From ced7bcfd15af5943201a8432b7a38d4f55395646 Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar <3998+srid@users.noreply.github.com> Date: Fri, 16 Feb 2024 08:24:55 -0500 Subject: [PATCH] ifd: expressions can evaluate to other values --- en/ifd.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/ifd.md b/en/ifd.md index ffb803e9..67612946 100644 --- a/en/ifd.md +++ b/en/ifd.md @@ -1,5 +1,5 @@ # Import From Derivation (IFD) -[[nix|Nix]] expressions are *evaluated* to produce #[[drv|derivations]]. These derivations when *realized* usually produce the compiled binary packages. Sometimes, realizing a derivation can produce a Nix expression representing another derivation. This generated Nix expression too needs to be *evaluated* to its derivation before it can be *realized*. This secondary evaluation is achieved by `import`ing from the derivation being evaluated, and is called "import from derivation" or IFD. +[[nix|Nix]] expressions are *evaluated* to produce #[[drv|derivations] (among other values). These derivations when *realized* usually produce the compiled binary packages. Sometimes, realizing a derivation can produce a Nix expression representing another derivation. This generated Nix expression too needs to be *evaluated* to its derivation before it can be *realized*. This secondary evaluation is achieved by `import`ing from the derivation being evaluated, and is called "import from derivation" or IFD. For detailed explanation, see [this blog post](https://blog.hercules-ci.com/2019/08/30/native-support-for-import-for-derivation/).