GNU bug report logs -
#40162
[PATCH] gnu: guix-data-service: Update to 0.0.1-19.d12909d.
Previous Next
Reported by: Christopher Baines <mail <at> cbaines.net>
Date: Sat, 21 Mar 2020 09:24:01 UTC
Severity: normal
Tags: patch
Done: Christopher Baines <mail <at> cbaines.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Hi!
Christopher Baines <mail <at> cbaines.net> skribis:
> These changes support the guix-data-service-backup-database and
> guix-data-service-create-small-backup scripts. These are shell scripts, so
> require coreutils from the build environment at runtime as well as binaries
> from postgresql, ephemeralpg and optionally util-linux (for ionice and
> renice).
>
> * gnu/packages/web.scm (guix-data-service): Update to 0.0.1-19.d12909d.
> [arguments]: Add (ice-9 ftw) and (ice-9 match) to #:modules, change the
> 'install phase to wrap all bin files with the PATH at build time.
> [inputs]: Add util-linux and include ephemeralpg from native-inputs.
> [native-inputs]: Move ephemeralpg to inputs.
[...]
> (lambda (file)
> + (simple-format (current-error-port)
> + "wrapping: ~A\n"
> + (string-append bin "/" file))
> (wrap-program (string-append bin "/" file)
> `("PATH" ":" prefix
> - (,bin))
> + (,bin ,(getenv "PATH")))
If I’m not mistaken, this would keep references to GCC, etc.
What about explicitly listing the things that you list above?
Thanks,
Ludo’.
This bug report was last modified 5 years and 117 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.