aboutsummaryrefslogtreecommitdiff
path: root/etc/guix-gc.timer
blob: 192132fbda51d3f60e10b4773060ebaacf3ab37d (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# This is a "timer unit file" for the systemd init system to trigger
# 'guix-gc.service' periodically.  Drop it in /etc/systemd/system or similar
# together with 'guix-gc.service' to set it up.

[Unit]
Description=Discard unused Guix store items

[Timer]
OnCalendar=weekly
AccuracySec=1h
Persistent=true
RandomizedDelaySec=6000

[Install]
WantedBy=timers.target
-05 18:57:48 +0100'>2024-02-05teams: mozilla: Add tor-browsers.scm....Clément Lassieur 2024-02-03teams: Add Mark H Weaver to the ‘mozilla’ team....Mark H Weaver 2024-01-30teams: go: Add golang-xyz.scm to scope....Sharlatan Hellseher 2024-01-28teams: go: Add more related files to the scope....Sharlatan Hellseher 2024-01-24teams: Remove Efraim Flashner from the science team....Efraim Flashner 2024-01-16teams: Add Wilko Meyer to kernel....Wilko Meyer 2024-01-14teams: Add Vivien Kraus....Vivien Kraus 2024-01-12teams: Add entry for Sharlatan Hellseher....Sharlatan Hellseher 2024-01-05teams: Add ‘core-packages’ team....Ludovic Courtès 2023-12-22teams: mozilla: Add icecat-extension.scm and browser-extensions.scm....Clément Lassieur 2023-12-20teams: Add entry for Clément Lassieur....Clément Lassieur 2023-11-20teams: Include golang-check.scm in the go team....Benjamin 2023-11-12teams: Add Ekaitz Zarraga to bootstrap and zig....Ekaitz Zarraga 2023-11-12teams: Add Zig team....Ekaitz Zarraga 2023-11-01teams.scm: Add file-local variable prop line for the mode....Maxim Cournoyer 2023-10-27teams: Add myself to audio team....Gabriel Wicki 2023-10-27teams: Add audio team....Gabriel Wicki 2023-10-22teams: Adjust shebang to use 'guix repl'....Maxim Cournoyer ='/guix/commit/nix?id=0500af5556307d0a4c14a23864e9e4bccd2643d7'>Revert "build: Add missing guix-gc.timer file to binary tarball."Tobias Geerinckx-Rice This reverts commit 69f6edc1a8596d2cb4c67e0435d35633af6f3cbc. The intention is good, but nodist_systemdservice_DATA are meant to be disposable artefacts generated from corresponding ‘.in’ files. etc/guix-gc.timer doesn't fit that description, breaking builds: $ make clean && make … make[2]: *** No rule to make target 'etc/guix-gc.timer', needed by 'all-am'. Stop. 2023-09-26daemon: Add “git-download” built-in builder.Ludovic Courtès The new builder makes it possible to break cycles that occurs when the fixed-output derivation for the source of a dependency of ‘git’ would itself depend on ‘git’. * guix/scripts/perform-download.scm (perform-git-download): New procedure. (perform-download): Move fixed-output derivation check to… (guix-perform-download): … here. Invoke ‘perform-download’ or ‘perform-git-download’ depending on what ‘derivation-builder’ returns. * nix/libstore/builtins.cc (builtins): Add “git-download”. * tests/derivations.scm ("built-in-builders"): Update. ("'git-download' built-in builder") ("'git-download' built-in builder, invalid hash") ("'git-download' built-in builder, invalid commit") ("'git-download' built-in builder, not found"): New tests. 2023-09-09daemon: Fix build with GCC 13.Sören Tempel The sqlite.hh file uses fixed-width integer types from stdint.h. As such, it needs to include <cstdint>. Without this include, the file doesn't compile successfully with GCC13. See: https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes * nix/libstore/sqlite.hh: include <cstdint> Signed-off-by: Sören Tempel <soeren@soeren-tempel.net> Signed-off-by: Ludovic Courtès <ludo@gnu.org> 2023-08-31build: Add missing guix-gc.timer file to binary tarball.Maxim Cournoyer Partially fixes <https://issues.guix.gnu.org/65117>. * nix/local.mk (nodist_systemdservice_DATA): Add etc/guix-gc.timer. 2023-01-09daemon: Improve error message for wrong hash sizes.Ludovic Courtès * nix/libutil/hash.cc (parseHash): Show the hash algorithm name and expected size in the error message. * tests/derivations.scm ("fixed-output derivation, invalid hash size"): New test. 2022-12-18daemon: Make "opening file" error messages distinguishable.Ludovic Courtès * nix/libstore/build.cc (DerivationGoal::openLogFile): Customize "opening file" error message. * nix/libutil/hash.cc (hashFile): Likewise. * nix/libutil/util.cc (readFile, writeFile): Likewise. 2022-10-17Revert "nix: Guard against removing temporary roots of living processes."Ludovic Courtès This reverts commit bb0beaecdee1a2315a1269b1746d238c8ab0e699. This change broke a number of tests that assumed the previous behavior. 2022-10-07nix: Guard against removing temporary roots of living processes.Ludovic Courtès Fixes <https://issues.guix.gnu.org/25018>. * nix/libstore/gc.cc (readTempRoots): Add a check to guard against removing the temporary roots of a living process. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> 2022-09-11daemon: Remove unused function findOutput.Maxime Devos * nix/libstore/misc.cc (findOutput): Remove it. * nix/libstore/misc.hh (findOutput): Likewise. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org> 2022-09-11daemon: Remove unused function exportPaths.Maxime Devos * nix/libstore/store-api.cc (exportPaths): Remove it. * nix/libstore/store-api.hh (exportPaths): Likewise. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org> 2022-09-11daemon: Remove unused function openStore.Maxime Devos * nix/libstore/store-api.cc (openStore): Remove it. * nix/libstore/store-api.hh (openStore): Likewise. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org> 2022-06-05daemon: Quote consistently within a string.Tobias Geerinckx-Rice * nix/libstore/build.cc (DerivationGoal::registerOutput): ‘’ → `'. 2022-05-29daemon: Clarify ‘--check’ error when outputs are missing.Tobias Geerinckx-Rice Drop the confusing ‘invalid’ jargon and display a hint like we do for ‘--fallback’. * nix/libstore/build.cc (DerivationGoal::outputsSubstituted): Rewrite error message. 2022-05-18daemon: runChild() is forbidden to talk during environment set upyarl-baudig@mailoo.org DerivationGoal::startBuilder() is waiting for an empty line as a check that the environment set up is fine. Fixes <https://issues.guix.gnu.org/55324>. * nix/libstore/build.cc (DerivationGoal::runChild): Remove 'debug' statement corresponding to bind mounts. Signed-off-by: Ludovic Courtès <ludo@gnu.org> 2022-04-14daemon: Support systemd-style socket activation.Ludovic Courtès * nix/nix-daemon/guix-daemon.cc (SD_LISTEN_FDS_START): New macro. (systemd_activation_sockets): New function. (main): Use it. Remove obsolete 'printMsg' call. * doc/guix.texi (Invoking guix-daemon): Document socket activation.