A big thanks to Eelco Dolstra, who designed and implemented Nix. Transposing functional programming discipline to package management proved to be inspiring and fruitful. Thanks to the following people who contributed to GNU Guix through suggestions, bug reports, patches, internationalization, or general infrastructure help: Lluís Batlle i Rossell Sylvain Beucler Carlos Carleos Felipe Castro Daniel Clark Alexandru Cojocaru Aleix Conchillo Flaqué Malcolm Cook Thomas Danckaert Rafael Ferreira Christian Grothoff Eric Hanchrow Konrad Hinsen Brandon Invergo Anders Jonsson Jeffrin Jose Kete Daniel Kochmański Matthew Lien Dave Love Chris Marusich Niels Möller Cyprien Nicolas Yutaka Niibe Andrei Osipov Petter Adam Pribyl Pjotr Prins Yakkala Yagnesh Raghava Joshua Randall Bruno Félix Rezende Ribeiro Benno Schulenberg Thomas Schwinge Alexander Shendi Alen Skondro Jan Synáček Matthias Wachs Christine Lemmer-Webber Philip Woods GNU Guix also includes non-software works. Thanks to the following people who contributed the logo and general artwork and themes: Nikita Karetnikov Felipe López g/nix/libutil?id=ea173bd87414f72ce61c0436b9503bef7f1beb45&showmsg=1'>libutil/util.hh
AgeCommit message (Collapse)Author
2020-12-08daemon: 'Agent' constructor takes a list of environment variables.Ludovic Courtès
* nix/libutil/util.hh (struct Agent)[Agent]: Add 'env' parameter. * nix/libutil/util.cc (Agent::Agent): Honor it.
2020-09-14daemon: Move 'Agent' to libutil.Ludovic Courtès
* nix/libstore/build.cc (DerivationGoal::tryBuildHook): Add "offload" to 'args' and pass settings.guixProgram as the first argument to Agent::Agent. (pathNullDevice, commonChildInit, Agent, Agent::Agent) (Agent::~Agent): Move to... * nix/libutil/util.cc: ... here. * nix/libutil/util.hh (struct Agent, commonChildInit): New declarations.
2020-01-12daemon: Account for deleted store files when deduplication is on.Ludovic Courtès
Previously, a store item that is a regular file would not be accounted for in the 'bytesFreed' value computed by 'deletePath' because its 'st_nlink' count would always be >= 2. This commit fixes that. * nix/libutil/util.hh (deletePath): Add optional 'linkThreshold' argument. * nix/libutil/util.cc (_deletePath): Add 'linkThreshold' argument and honor it. Pass it down in recursive call. (deletePath): Add 'linkThreshold' and honor it. * nix/libstore/gc.cc (LocalStore::deleteGarbage): Pass 'linkThreshold' argument to 'deletePath', with a value of 2 when PATH is a store item and deduplication is on.