···73737474 <varlistentry><term><varname>
7575 $outputMan</varname></term><listitem><para>
7676- is for man pages (except for section 3). They go to <varname>man</varname> or <varname>doc</varname> or <varname>$outputBin</varname> by default.
7676+ is for man pages (except for section 3). They go to <varname>man</varname> or <varname>$outputBin</varname> by default.
7777 </para></listitem></varlistentry>
78787979 <varlistentry><term><varname>
···83838484 <varlistentry><term><varname>
8585 $outputInfo</varname></term><listitem><para>
8686- is for info pages. They go to <varname>info</varname> or <varname>doc</varname> or <varname>$outputMan</varname> by default.
8686+ is for info pages. They go to <varname>info</varname> or <varname>$outputBin</varname> by default.
8787 </para></listitem></varlistentry>
88888989 </variablelist>
+1-1
pkgs/applications/audio/flac/default.nix
···12121313 #doCheck = true; # takes lots of time
14141515- outputs = [ "bin" "dev" "out" "doc" ];
1515+ outputs = [ "bin" "dev" "out" "man" "doc" ];
16161717 meta = with stdenv.lib; {
1818 homepage = http://xiph.org/flac/;
···1212 sha256 = "1wfir1gvh5h7izgvx2kd1pr2k7wlncd33zq7qi9s9k2y0aza93yr";
1313 };
14141515- outputs = [ "out" "contrib" "doc" "info" ];
1515+ outputs = [ "out" "contrib" "man" "doc" "info" ];
16161717 configureFlags = [
1818 # >=1.4.9 requires this even with readline in inputs
+4-4
pkgs/build-support/setup-hooks/make-wrapper.sh
···33# assertExecutable FILE
44assertExecutable() {
55 local file="$1"
66- [[ -f "${file}" && -x "${file}" ]] || \
77- die "Cannot wrap ${file} because it is not an executable file"
66+ [[ -f "$file" && -x "$file" ]] || \
77+ die "Cannot wrap '$file' because it is not an executable file"
88}
991010# construct an executable file that wraps the actual executable
···3333 local params varName value command separator n fileNames
3434 local argv0 flagsBefore flags
35353636- assertExecutable "${original}"
3636+ assertExecutable "$original"
37373838 mkdir -p "$(dirname "$wrapper")"
3939···131131 local prog="$1"
132132 local hidden
133133134134- assertExecutable "${prog}"
134134+ assertExecutable "$prog"
135135136136 hidden="$(dirname "$prog")/.$(basename "$prog")"-wrapped
137137 while [ -e "$hidden" ]; do
···4040_overrideFirst outputDoc "doc" "out"
4141_overrideFirst outputDevdoc "devdoc" REMOVE # documentation for developers
4242# man and info pages are small and often useful to distribute with binaries
4343-_overrideFirst outputMan "man" "doc" "$outputBin"
4343+_overrideFirst outputMan "man" "$outputBin"
4444_overrideFirst outputDevman "devman" "devdoc" "$outputMan"
4545-_overrideFirst outputInfo "info" "doc" "$outputMan"
4545+_overrideFirst outputInfo "info" "$outputBin"
464647474848# Add standard flags to put files into the desired outputs.
···15151616 enableParallelBuilding = true;
17171818- outputs = [ "bin" "dev" "out" "doc" ];
1818+ outputs = [ "bin" "dev" "out" "man" "doc" ];
19192020 # need headers from the Carbon.framework in /System/Library/Frameworks to
2121 # compile this on darwin -- not sure how to handle
···36363737 hardeningDisable = [ "format" ];
38383939- outputs = [ "out" "dev" "doc" "info" ];
4040-4141- # the man pages are small and useful enough
4242- outputMan = if interactive then "out" else null;
3939+ outputs = [ "out" "dev" "doc" "info" ]
4040+ # the man pages are small and useful enough, so include them in $out in interactive builds
4141+ ++ stdenv.lib.optional (!interactive) "man";
43424443 NIX_CFLAGS_COMPILE = ''
4544 -DSYS_BASHRC="/etc/bashrc"