Don't encode the current timestamp. This affects the output of `perl -V`, specifically the message "Compiled at [...]". The 'cf_time' and 'cf_by' values show up in 'config.h' and in 'Config_heavy.pl'. Use the output of 'uname -s' instead of 'uname -a' to avoid recording the kernel version ('uname -o' leads to directory names like 'x86_64-gnulinux' instead of 'x86_64-linux', which might cause breakage down the road.) diff --git a/perl.c b/perl.c index 228a0d8..ed38313 100644 --- a/perl.c +++ b/perl.c @@ -1825,6 +1825,7 @@ S_Internals_V(pTHX_ CV *cv) PUSHs(Perl_newSVpvn_flags(aTHX_ non_bincompat_options, sizeof(non_bincompat_options) - 1, SVs_TEMP)); +#define PERL_BUILD_DATE "Jan 1 1970 00:00:00" #ifndef PERL_BUILD_DATE # ifdef __DATE__ # ifdef __TIME__ --- a/Configure 1970-01-01 01:00:00.000000000 +0100 +++ b/Configure 2016-10-01 14:47:20.017319739 +0200 @@ -3276,7 +3276,7 @@ $eunicefix tr : Try to determine whether config.sh was made on this system case "$config_sh" in '') -myuname=`$uname -a 2>/dev/null` +myuname=`$uname -s 2>/dev/null` $test -z "$myuname" && myuname=`hostname 2>/dev/null` # Downcase everything to avoid ambiguity. # Remove slashes and single quotes so we can use parts of this in @@ -3845,10 +3845,10 @@ . ./posthint.sh : who configured the system -cf_time=`LC_ALL=C; LANGUAGE=C; export LC_ALL; export LANGUAGE; $date 2>&1` +cf_time="1970-01-01" case "$cf_by" in "") - cf_by=`(logname) 2>/dev/null` + cf_by="guix" case "$cf_by" in "") cf_by=`(whoami) 2>/dev/null` ='right' method='get' action='/guix/log/gnu/packages/barrier.scm'>
path: root/gnu/packages/barrier.scm
AgeCommit message (Expand)Author
2023-05-11gnu: barrier: Include NULL compatibility....Fixes <https://bugs.gnu.org/63244>. Reported by <john@fremlin.org> * gnu/packages/barrier.scm (barrier)[arguments]: Use G-exp, add phases including NULL macro. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Simon Tournier
2023-02-16gnu: Remove unneeded module imports....* gnu/packages/abiword.scm, * gnu/packages/ada.scm, * gnu/packages/agda.scm, * gnu/packages/backup.scm, * gnu/packages/barrier.scm, * gnu/packages/bioinformatics.scm, * gnu/packages/bootstrap.scm, * gnu/packages/bqn.scm, * gnu/packages/c.scm, * gnu/packages/chemistry.scm, * gnu/packages/coq.scm, * gnu/packages/cross-base.scm, * gnu/packages/databases.scm, * gnu/packages/emacs-xyz.scm, * gnu/packages/enlightenment.scm, * gnu/packages/games.scm, * gnu/packages/geo.scm, * gnu/packages/ghostscript.scm, * gnu/packages/gl.scm, * gnu/packages/golang.scm, * gnu/packages/jami.scm, * gnu/packages/java-maths.scm, * gnu/packages/kde-frameworks.scm, * gnu/packages/kde-plasma.scm, * gnu/packages/language.scm, * gnu/packages/libreoffice.scm, * gnu/packages/linphone.scm, * gnu/packages/lisp.scm, * gnu/packages/llvm.scm, * gnu/packages/machine-learning.scm, * gnu/packages/minetest.scm, * gnu/packages/monitoring.scm, * gnu/packages/nfs.scm, * gnu/packages/ocr.scm, * gnu/packages/opencl.scm, * gnu/packages/pdf.scm, * gnu/packages/python-xyz.scm, * gnu/packages/racket.scm, * gnu/packages/rust.scm, * gnu/packages/syncthing.scm, * gnu/packages/syndication.scm, * gnu/packages/telegram.scm, * gnu/packages/vulkan.scm, * gnu/packages/web-browsers.scm, * gnu/packages/web.scm, * gnu/packages/webkit.scm: Remove some unecessary module imports. Efraim Flashner
2022-06-12gnu: barrier: Fix source hash....The previous hash matches that of ‘guix hash -rx .’ on a pristine v2.4.0 checkout — without any submodules. We clone recursive?ly, so update the hash to include them. Closes <https://issues.guix.gnu.org/56091>. * gnu/packages/barrier.scm (barrier)[source]: Fix hash. Reported by Vishakh Kumar <grokkingstuff@gmail.com>. Tobias Geerinckx-Rice