From 458acd70b28f1f3a751023614848d59f35e80cf1 Mon Sep 17 00:00:00 2001 From: Valentin Gagarin Date: Thu, 24 Aug 2023 18:25:23 +0200 Subject: [PATCH] add missing word --- source/recipes/best-practices.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/recipes/best-practices.md b/source/recipes/best-practices.md index 999cfa8d4f0..66e289ab39b 100644 --- a/source/recipes/best-practices.md +++ b/source/recipes/best-practices.md @@ -215,7 +215,7 @@ If the Nix file containing this expression is in `/home/myuser/myproject`, then The problem is that now your build is no longer reproducible, as it depends on the parent directory name. That cannot declared in the source code, and results in an impurity. -If someone builds the project in a directory with a different name, they will get a different for `src` and everything that depends on it. +If someone builds the project in a directory with a different name, they will get a different store path hash for `src` and everything that depends on it. :::{tip} Use [`builtins.path`](https://nixos.org/manual/nix/stable/language/builtins.html#builtins-path) with the `name` attribute set to something fixed.