diff options
author | Jan Malakhovski <oxij@oxij.org> | 2018-08-06 15:26:51 +0000 |
---|---|---|
committer | Jan Malakhovski <oxij@oxij.org> | 2018-08-06 20:50:16 +0000 |
commit | 02c09e01712ce0b61e5c8f7159047699a434f7fc (patch) | |
tree | 54a7675e303e0f0a830ecfd0d118a11569762144 /pkgs/build-support/bintools-wrapper | |
parent | 28ad0703f3db92a3cbb8b1249101e0ff4e3616f6 (diff) | |
download | nixlib-02c09e01712ce0b61e5c8f7159047699a434f7fc.tar nixlib-02c09e01712ce0b61e5c8f7159047699a434f7fc.tar.gz nixlib-02c09e01712ce0b61e5c8f7159047699a434f7fc.tar.bz2 nixlib-02c09e01712ce0b61e5c8f7159047699a434f7fc.tar.lz nixlib-02c09e01712ce0b61e5c8f7159047699a434f7fc.tar.xz nixlib-02c09e01712ce0b61e5c8f7159047699a434f7fc.tar.zst nixlib-02c09e01712ce0b61e5c8f7159047699a434f7fc.zip |
cc-wrapper, bintools-wrapper: simply symlink man and info outputs
See discussion in #44516.
Diffstat (limited to 'pkgs/build-support/bintools-wrapper')
-rw-r--r-- | pkgs/build-support/bintools-wrapper/default.nix | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/pkgs/build-support/bintools-wrapper/default.nix b/pkgs/build-support/bintools-wrapper/default.nix index 2048220361ac..7cbe56bdd651 100644 --- a/pkgs/build-support/bintools-wrapper/default.nix +++ b/pkgs/build-support/bintools-wrapper/default.nix @@ -6,9 +6,10 @@ # compiler and the linker just "work". { name ? "" -, stdenvNoCC, nativeTools, propagateDoc ? !nativeTools, noLibc ? false, nativeLibc, nativePrefix ? "" -, bintools ? null, libc ? null -, coreutils ? null, shell ? stdenvNoCC.shell, gnugrep ? null +, stdenvNoCC +, bintools ? null, libc ? null, coreutils ? null, shell ? stdenvNoCC.shell, gnugrep ? null +, nativeTools, noLibc ? false, nativeLibc, nativePrefix ? "" +, propagateDoc ? !nativeTools && bintools != null && bintools ? man , extraPackages ? [], extraBuildCommands ? "" , buildPackages ? {} , useMacosReexportHack ? false @@ -267,9 +268,8 @@ stdenv.mkDerivation { ## Man page and info support ## - mkdir -p $man/nix-support $info/nix-support - printWords ${bintools.man or ""} >> $man/nix-support/propagated-build-inputs - printWords ${bintools.info or ""} >> $info/nix-support/propagated-build-inputs + ln -s ${bintools.man} $man + ln -s ${bintools.info} $info '' + '' |