summary refs log tree commit diff
path: root/pkgs/build-support
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-01-06 00:31:27 +0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-01-06 00:31:27 +0100
commit38460cfe7246f34ccb09768b1435b9dcfd739e3b (patch)
tree8520db1ce61db8880f47aa48f376ddf269a4cd3b /pkgs/build-support
parent81e530a7499e3f06bec13b6ec974d0f1e3a4ab84 (diff)
downloadnixlib-38460cfe7246f34ccb09768b1435b9dcfd739e3b.tar
nixlib-38460cfe7246f34ccb09768b1435b9dcfd739e3b.tar.gz
nixlib-38460cfe7246f34ccb09768b1435b9dcfd739e3b.tar.bz2
nixlib-38460cfe7246f34ccb09768b1435b9dcfd739e3b.tar.lz
nixlib-38460cfe7246f34ccb09768b1435b9dcfd739e3b.tar.xz
nixlib-38460cfe7246f34ccb09768b1435b9dcfd739e3b.tar.zst
nixlib-38460cfe7246f34ccb09768b1435b9dcfd739e3b.zip
set-source-date-epoch-to-latest.sh: Support Darwin
Diffstat (limited to 'pkgs/build-support')
-rw-r--r--pkgs/build-support/setup-hooks/set-source-date-epoch-to-latest.sh6
1 files changed, 0 insertions, 6 deletions
diff --git a/pkgs/build-support/setup-hooks/set-source-date-epoch-to-latest.sh b/pkgs/build-support/setup-hooks/set-source-date-epoch-to-latest.sh
index e57848cff558..9e325106f821 100644
--- a/pkgs/build-support/setup-hooks/set-source-date-epoch-to-latest.sh
+++ b/pkgs/build-support/setup-hooks/set-source-date-epoch-to-latest.sh
@@ -1,12 +1,6 @@
 updateSourceDateEpoch() {
     local path="$1"
 
-    # FIXME: Support Darwin.
-    if ! [[ $system =~ linux ]]; then
-        exit 1
-        return
-    fi
-
     # Get the last modification time of all regular files, sort them,
     # and get the most recent. Maybe we should use
     # https://github.com/0-wiz-0/findnewest here.