[Nix-dev] Making stdenv/setup.sh more verbose
Michael Raskin
7c6f434c at mail.ru
Fri Jan 20 07:01:20 CET 2012
>Review the attached patch, please.
Looks like a strict improvement..
>- mkdir -p "$out/nix-support"
>+ mkdir -pv "$out/nix-support"
>- if ! [ -x "$dir" ]; then mkdir -p "$dir"; fi
>+ if ! [ -x "$dir" ]; then mkdir -pv "$dir"; fi
>- mkdir -p $out/bin
>- cp "$@" $out/bin
>+ mkdir -pv $out/bin
>+ cp -v "$@" $out/bin
>- mkdir -p "$prefix"
>+ mkdir -pv "$prefix"
>- mkdir -p "$out/nix-support"
>- echo "$propagatedBuildInputs" > "$out/nix-support/propagated-build-inputs"
>+ mkdir -pv "$out/nix-support"
>+ echo -n "Propagated build inputs: "
>+ echo "$propagatedBuildInputs" | tee "$out/nix-support/propagated-build-inputs"
>- mkdir -p "$out/nix-support"
>- echo "$propagatedBuildNativeInputs" > "$out/nix-support/propagated-build-native-inputs"
>+ mkdir -pv "$out/nix-support"
>+ echo -n "Propagated build native inputs: "
>+ echo "$propagatedBuildNativeInputs" | tee "$out/nix-support/propagated-build-native-inputs"
>- mkdir -p "$out/tarballs"
>+ mkdir -pv "$out/tarballs"
More information about the nix-dev
mailing list