summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorArtturin <Artturin@artturin.com>2023-02-23 18:09:09 +0200
committerArtturin <Artturin@artturin.com>2023-02-23 18:45:38 +0200
commit06567334beec3fe0f33ed8f91b33a4a195a3b9ba (patch)
treefcbce4f5d79572d49f01cbc08772ee2c7fb0cb78 /doc
parent54140dd47f1b9f61c9335a1fcc60fe7961c0e64a (diff)
downloadnixpkgs-06567334beec3fe0f33ed8f91b33a4a195a3b9ba.tar
nixpkgs-06567334beec3fe0f33ed8f91b33a4a195a3b9ba.tar.gz
nixpkgs-06567334beec3fe0f33ed8f91b33a4a195a3b9ba.tar.bz2
nixpkgs-06567334beec3fe0f33ed8f91b33a4a195a3b9ba.tar.lz
nixpkgs-06567334beec3fe0f33ed8f91b33a4a195a3b9ba.tar.xz
nixpkgs-06567334beec3fe0f33ed8f91b33a4a195a3b9ba.tar.zst
nixpkgs-06567334beec3fe0f33ed8f91b33a4a195a3b9ba.zip
emscriptenPackages: s/overrideDerivation/overrideAttrs
https://nixos.org/manual/nixpkgs/stable/#sec-pkg-overrideDerivation

> Do not use this function in Nixpkgs as it evaluates a Derivation before modifying it, which breaks package abstraction and removes error-checking of function arguments
Diffstat (limited to 'doc')
-rw-r--r--doc/languages-frameworks/emscripten.section.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/languages-frameworks/emscripten.section.md b/doc/languages-frameworks/emscripten.section.md
index 67c8ed42bfd..5f93dd5ff31 100644
--- a/doc/languages-frameworks/emscripten.section.md
+++ b/doc/languages-frameworks/emscripten.section.md
@@ -56,7 +56,7 @@ See the `zlib` example:
 
     zlib = (pkgs.zlib.override {
       stdenv = pkgs.emscriptenStdenv;
-    }).overrideDerivation
+    }).overrideAttrs
     (old: rec {
       buildInputs = old.buildInputs ++ [ pkg-config ];
       # we need to reset this setting!