summary refs log tree commit diff
path: root/pkgs/stdenv
diff options
context:
space:
mode:
authorhappysalada <raphael@megzari.com>2021-06-26 17:53:14 +0900
committerRaphael Megzari <raphael@megzari.com>2021-07-06 09:27:18 +0900
commit5617feb330e7cb024b4fe5ecd0a927d7c007e5a8 (patch)
tree42827d397cbde73070f38f0df95aed43bf175939 /pkgs/stdenv
parent1f255cbe5c3d8b2e370938fcd30fe922767f41fe (diff)
downloadnixpkgs-5617feb330e7cb024b4fe5ecd0a927d7c007e5a8.tar
nixpkgs-5617feb330e7cb024b4fe5ecd0a927d7c007e5a8.tar.gz
nixpkgs-5617feb330e7cb024b4fe5ecd0a927d7c007e5a8.tar.bz2
nixpkgs-5617feb330e7cb024b4fe5ecd0a927d7c007e5a8.tar.lz
nixpkgs-5617feb330e7cb024b4fe5ecd0a927d7c007e5a8.tar.xz
nixpkgs-5617feb330e7cb024b4fe5ecd0a927d7c007e5a8.tar.zst
nixpkgs-5617feb330e7cb024b4fe5ecd0a927d7c007e5a8.zip
setup.sh: remove extraneous cat cmd
Diffstat (limited to 'pkgs/stdenv')
-rw-r--r--pkgs/stdenv/generic/setup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/stdenv/generic/setup.sh b/pkgs/stdenv/generic/setup.sh
index b1da14c9b9d..0db99ad5394 100644
--- a/pkgs/stdenv/generic/setup.sh
+++ b/pkgs/stdenv/generic/setup.sh
@@ -125,7 +125,7 @@ exitHandler() {
     if [ -n "${showBuildStats:-}" ]; then
         times > "$NIX_BUILD_TOP/.times"
         local -a buildTimesArray
-        IFS=" " read -r -a buildTimesArray <<< "$(cat "$NIX_BUILD_TOP/.times")"
+        IFS=" " read -r -a buildTimesArray < "$NIX_BUILD_TOP/.times"
         # Print the following statistics:
         # - user time for the shell
         # - system time for the shell