summary refs log tree commit diff
diff options
context:
space:
mode:
authorValentin Gagarin <valentin.gagarin@tweag.io>2023-10-09 23:57:03 +0200
committerfricklerhandwerk <valentin@fricklerhandwerk.de>2023-10-09 23:57:03 +0200
commit61fa1255f86bd12d81f81dc93391ee7365059647 (patch)
treed91b8aa10b8d723220615e1d37c7e979e82a37d9
parentba10489eae3b2b2f665947b516e7043594a235c8 (diff)
downloadnixpkgs-61fa1255f86bd12d81f81dc93391ee7365059647.tar
nixpkgs-61fa1255f86bd12d81f81dc93391ee7365059647.tar.gz
nixpkgs-61fa1255f86bd12d81f81dc93391ee7365059647.tar.bz2
nixpkgs-61fa1255f86bd12d81f81dc93391ee7365059647.tar.lz
nixpkgs-61fa1255f86bd12d81f81dc93391ee7365059647.tar.xz
nixpkgs-61fa1255f86bd12d81f81dc93391ee7365059647.tar.zst
nixpkgs-61fa1255f86bd12d81f81dc93391ee7365059647.zip
link to documentation on IFD in the Nix manual
-rw-r--r--doc/languages-frameworks/rust.section.md2
-rw-r--r--lib/fileset/README.md2
-rw-r--r--pkgs/README.md12
3 files changed, 4 insertions, 12 deletions
diff --git a/doc/languages-frameworks/rust.section.md b/doc/languages-frameworks/rust.section.md
index 67e23cc74d4..3bd8e1c7651 100644
--- a/doc/languages-frameworks/rust.section.md
+++ b/doc/languages-frameworks/rust.section.md
@@ -817,7 +817,7 @@ $ cargo test
 ## Using community maintained Rust toolchains {#using-community-maintained-rust-toolchains}
 
 ::: {.note}
-Note: The following projects cannot be used within nixpkgs since [IFD](#ssec-import-from-derivation) is disallowed.
+The following projects cannot be used within Nixpkgs since [Import From Derivation](https://nixos.org/manual/nix/unstable/language/import-from-derivation) (IFD) is disallowed in Nixpkgs.
 To package things that require Rust nightly, `RUSTC_BOOTSTRAP = true;` can sometimes be used as a hack.
 :::
 
diff --git a/lib/fileset/README.md b/lib/fileset/README.md
index 1aed7efec4c..d2215803692 100644
--- a/lib/fileset/README.md
+++ b/lib/fileset/README.md
@@ -176,7 +176,7 @@ File sets do not support Nix store paths in strings such as `"/nix/store/...-sou
 
 Arguments:
 - (+) Such paths are usually produced by derivations, which means `toSource` would either:
-  - Require IFD if `builtins.path` is used as the underlying primitive
+  - Require [Import From Derivation](https://nixos.org/manual/nix/unstable/language/import-from-derivation) (IFD) if `builtins.path` is used as the underlying primitive
   - Require importing the entire `root` into the store such that derivations can be used to do the filtering
 - (+) The convenient path coercion like `union ./foo ./bar` wouldn't work for absolute paths, requiring more verbose alternate interfaces:
   - `let root = "/nix/store/...-source"; in union "${root}/foo" "${root}/bar"`
diff --git a/pkgs/README.md b/pkgs/README.md
index 5cc70247581..bfa7e611255 100644
--- a/pkgs/README.md
+++ b/pkgs/README.md
@@ -368,19 +368,11 @@ See the Nixpkgs manual for more details on [standard meta-attributes](https://ni
 
 ### Import From Derivation
 
-Import From Derivation (IFD) is disallowed in Nixpkgs for performance reasons:
-[Hydra] evaluates the entire package set, and sequential builds during evaluation would increase evaluation times to become impractical.
-
-[Hydra]: https://github.com/NixOS/hydra
+[Import From Derivation](https://nixos.org/manual/nix/unstable/language/import-from-derivation) (IFD) is disallowed in Nixpkgs for performance reasons:
+[Hydra](https://github.com/NixOS/hydra) evaluates the entire package set, and sequential builds during evaluation would increase evaluation times to become impractical.
 
 Import From Derivation can be worked around in some cases by committing generated intermediate files to version control and reading those instead.
 
-<!-- TODO: remove the following and link to Nix manual once https://github.com/NixOS/nix/pull/7332 is merged -->
-
-See also [NixOS Wiki: Import From Derivation].
-
-[NixOS Wiki: Import From Derivation]: https://nixos.wiki/wiki/Import_From_Derivation
-
 ## Sources
 
 ### Fetching Sources