···524524 fi
525525526526 # Extract the debug info.
527527- header "separating debug info from $i (build ID $id)"
527527+ echo "separating debug info from $i (build ID $id)"
528528 mkdir -p "$dst/''${id:0:2}"
529529 $OBJCOPY --only-keep-debug "$i" "$dst/''${id:0:2}/''${id:2}.debug"
530530
+1-3
pkgs/build-support/fetchbzr/builder.sh
···11if [ -e .attrs.sh ]; then source .attrs.sh; fi
22source "$stdenv/setup"
3344-header "exporting \`$url' (revision $rev) into \`$out'"
44+echo "exporting \`$url' (revision $rev) into \`$out'"
5566# Perform a lightweight checkout so that we don't end up importing
77# all the repository's history.
88BZR_LOG=/dev/null bzr -Ossl.cert_reqs=none export -r "$rev" --format=dir "$out" "$url"
99-1010-stopNest
···11if [ -e .attrs.sh ]; then source .attrs.sh; fi
22source $stdenv/setup
33-header "Cloning Fossil $url [$rev] into $out"
33+echo "Cloning Fossil $url [$rev] into $out"
4455# Fossil, bless its adorable little heart, wants to write global configuration
66# to $HOME/.fossil. AFAICT, there is no way to disable this functionality.
···19192020# Just nuke the checkout file.
2121rm $out/.fslckout
2222-2323-stopNest
···88 mtn --db "$cacheDB" db init
99fi
10101111-header "getting revision $selector";
1111+echo "getting revision $selector";
12121313done=;
1414for source in $dbs; do
···3232 fi;
3333done;
34343535-stopNest;
3636-3737-header "checking out the revision $revision";
3535+echo "checking out the revision $revision";
38363937if test -n "$done"; then
4038 mtn checkout --db "$cacheDB" -r "$revision" "$out" -b "${branch}"
···4341 exit 1;
4442fi;
45434646-stopNest
4747-4848-header "clearing _MTN in the output"
4444+echo "clearing _MTN in the output"
49455046rm -rf "$out/_MTN"
5151-5252-stopNest
+1-3
pkgs/build-support/fetchsvn/builder.sh
···11if [ -e .attrs.sh ]; then source .attrs.sh; fi
22source $stdenv/setup
3344-header "exporting $url (r$rev) into $out"
44+echo "exporting $url (r$rev) into $out"
5566if test -n "$http_proxy"; then
77 # Configure proxy
···2222svn export --trust-server-cert --non-interactive \
2323 ${ignoreExternals:+--ignore-externals} ${ignoreKeywords:+--ignore-keywords} \
2424 -r "$rev" "$url" "$out"
2525-2626-stopNest
+1-3
pkgs/build-support/fetchsvnssh/builder.sh
···11if [ -e .attrs.sh ]; then source .attrs.sh; fi
22source $stdenv/setup
3344-header "exporting $url (r$rev) into $out"
44+echo "exporting $url (r$rev) into $out"
5566if test "$sshSupport"; then
77 export SVN_SSH="$openssh/bin/ssh"
···1212# whether the server is being spoofed --- only the cryptographic
1313# hash of the output matters.
1414expect -f $sshSubversion "$username" "$password" "$rev" "$url" $out
1515-1616-stopNest
+1-1
pkgs/build-support/fetchurl/builder.sh
···3737tryDownload() {
3838 local url="$1"
3939 echo
4040- header "trying $url"
4040+ echo "trying $url"
4141 local curlexit=18;
42424343 success=
+2-4
pkgs/build-support/release/debian-build.nix
···4343 [ ! -f /etc/lsb-release ] || (source /etc/lsb-release; echo "OS release: $DISTRIB_DESCRIPTION")
4444 echo "System/kernel: $(uname -a)"
4545 if test -e /etc/debian_version; then echo "Debian release: $(cat /etc/debian_version)"; fi
4646- header "installed Debian packages"
4646+ echo "installed Debian packages"
4747 dpkg-query --list
4848- stopNest
4948 '';
50495150 installPhase = ''
···7372 [ "$(echo $out/debs/*.deb)" != "" ]
74737574 for i in $out/debs/*.deb; do
7676- header "Generated DEB package: $i"
7575+ echo "Generated DEB package: $i"
7776 dpkg-deb --info "$i"
7877 pkgName=$(dpkg-deb -W "$i" | awk '{print $1}')
7978 echo "file deb $i" >> $out/nix-support/hydra-build-products
8080- stopNest
8179 done
8280 dpkg -i $out/debs/*.deb
8381
+1-2
pkgs/build-support/release/nix-build.nix
···7474 if test -n "$succeedOnFailure"; then
7575 if test -n "$keepBuildDirectory"; then
7676 KEEPBUILDDIR="$out/`basename $TMPDIR`"
7777- header "Copying build directory to $KEEPBUILDDIR"
7777+ echo "Copying build directory to $KEEPBUILDDIR"
7878 mkdir -p $KEEPBUILDDIR
7979 cp -R "$TMPDIR/"* $KEEPBUILDDIR
8080- stopNest
8180 fi
8281 fi
8382 '';
+1-2
pkgs/build-support/release/source-tarball.nix
···6464 if test -n "$succeedOnFailure"; then
6565 if test -n "$keepBuildDirectory"; then
6666 KEEPBUILDDIR="$out/`basename $TMPDIR`"
6767- header "Copying build directory to $KEEPBUILDDIR"
6767+ echo "Copying build directory to $KEEPBUILDDIR"
6868 mkdir -p $KEEPBUILDDIR
6969 cp -R "$TMPDIR/"* $KEEPBUILDDIR
7070- stopNest
7170 fi
7271 fi
7372 '';
+1-3
pkgs/build-support/setup-hooks/audit-tmpdir.sh
···1313 local dir="$1"
1414 [ -e "$dir" ] || return 0
15151616- header "checking for references to $TMPDIR/ in $dir..."
1616+ echo "checking for references to $TMPDIR/ in $dir..."
17171818 local i
1919 find "$dir" -type f -print0 | while IFS= read -r -d $'\0' i; do
···3636 fi
37373838 done
3939-4040- stopNest
4139}
···2626 fi
27272828 # Extract the debug info.
2929- header "separating debug info from $i (build ID $id)"
2929+ echo "separating debug info from $i (build ID $id)"
3030 mkdir -p "$dst/${id:0:2}"
31313232 # This may fail, e.g. if the binary is for a different
+2-4
pkgs/build-support/vm/default.nix
···527527 echo "System/kernel: $(uname -a)"
528528 if test -e /etc/fedora-release; then echo "Fedora release: $(cat /etc/fedora-release)"; fi
529529 if test -e /etc/SuSE-release; then echo "SUSE release: $(cat /etc/SuSE-release)"; fi
530530- header "installed RPM packages"
530530+ echo "installed RPM packages"
531531 rpm -qa --qf "%{Name}-%{Version}-%{Release} (%{Arch}; %{Distribution}; %{Vendor})\n"
532532- stopNest
533532 '';
534533535534 buildPhase = ''
···559558 find $rpmout -name "*.rpm" -exec cp {} $out/$outDir \;
560559561560 for i in $out/$outDir/*.rpm; do
562562- header "Generated RPM/SRPM: $i"
561561+ echo "Generated RPM/SRPM: $i"
563562 rpm -qip $i
564564- stopNest
565563 done
566564567565 eval "$postInstall"
···16161717 patches = [ ./help2man-SOURCE_DATE_EPOCH-support.patch ];
18181919- # Disable indented log output from Make, otherwise "make.test" will
2020- # fail.
2121- preCheck = "unset NIX_INDENT_MAKE";
2219 doCheck = false; # takes _a lot_ of time, fails 3 out of 2698 tests, all seem to be related to paths
2320 doInstallCheck = false; # runs the same thing, fails the same tests
2421
···15151616 setupHook = ./setup-hook.sh;
17171818- # Disable indented log output from Make, otherwise "make.test" will
1919- # fail.
2020- preCheck = "unset NIX_INDENT_MAKE";
2118 doCheck = false; # takes _a lot_ of time, fails 3 out of 2698 tests, all seem to be related to paths
2219 doInstallCheck = false; # runs the same thing, fails the same tests
2320
···32323333 # Check that all-packages.nix evaluates on a number of platforms without any warnings.
3434 for platform in ${pkgs.lib.concatStringsSep " " supportedSystems}; do
3535- header "checking Nixpkgs on $platform"
3535+ echo "checking Nixpkgs on $platform"
36363737 # To get a call trace; see https://nixos.org/manual/nixpkgs/stable/#function-library-lib.trivial.warn
3838 # Relies on impure eval