diff --git a/pkgs/development/compilers/rustc/head.nix b/pkgs/development/compilers/rustc/head.nix index 9ee8cb524c2..b262d56f9e5 100644 --- a/pkgs/development/compilers/rustc/head.nix +++ b/pkgs/development/compilers/rustc/head.nix @@ -82,4 +82,9 @@ in stdenv.mkDerivation { preCheck = "export TZDIR=${tzdata}/share/zoneinfo"; doCheck = true; + + postInstall = '' + # Install documentation + cp -r doc "$out/share/doc" + ''; }