Merge pull request #269440 from iblech/citrix_reproducible

citrix_workspace: make reproducible

authored by Pierre Bourdon and committed by GitHub 46aafa96 fd44c780

+4 -1
+4 -1
pkgs/applications/networking/remote/citrix-workspace/generic.nix
··· 4 4 , gnome2, mesa, nss, nspr, gtk_engines, freetype, dconf, libpng12, libxml2 5 5 , libjpeg, libredirect, tzdata, cacert, systemd, libcxxabi, libcxx, e2fsprogs, symlinkJoin 6 6 , libpulseaudio, pcsclite, glib-networking, llvmPackages_12, opencv4 7 + , libfaketime 7 8 8 9 , homepage, version, prefix, hash 9 10 ··· 59 60 more 60 61 which 61 62 wrapGAppsHook 63 + libfaketime 62 64 ]; 63 65 64 66 buildInputs = [ ··· 153 155 154 156 # Run upstream installer in the store-path. 155 157 sed -i -e 's,^ANSWER="",ANSWER="$INSTALLER_YES",g' -e 's,/bin/true,true,g' ./${prefix}/hinst 156 - ${stdenv.shell} ${prefix}/hinst CDROM "$(pwd)" 158 + source_date=$(date --utc --date=@$SOURCE_DATE_EPOCH "+%F %T") 159 + faketime -f "$source_date" ${stdenv.shell} ${prefix}/hinst CDROM "$(pwd)" 157 160 158 161 if [ -f "$ICAInstDir/util/setlog" ]; then 159 162 chmod +x "$ICAInstDir/util/setlog"