/gnu/

ver'>AgeCommit message (Expand)Author 2021-11-16daemon: Do not deduplicate files smaller than 8 KiB....Files smaller than 8 KiB typically represent ~70% of the entries in /gnu/store/.links but only contribute to ~4% of the space savings afforded by deduplication. Not considering these files for deduplication speeds up file insertion in the store and, more importantly, leaves 'removeUnusedLinks' with fewer entries to traverse, thereby speeding it up proportionally. Partly fixes <https://issues.guix.gnu.org/24937>. * config-daemon.ac: Remove symlink hard link check and CAN_LINK_SYMLINK definition. * guix/store/deduplication.scm (%deduplication-minimum-size): New variable. (deduplicate)[loop]: Do not recurse when FILE's size is below %DEDUPLICATION-MINIMUM-SIZE. (dump-port): New procedure. (dump-file/deduplicate)[hash]: Turn into... [dump-and-compute-hash]: ... this thunk. Call 'deduplicate' only when SIZE is greater than %DEDUPLICATION-MINIMUM-SIZE; otherwise call 'dump-port'. * nix/libstore/gc.cc (LocalStore::removeUnusedLinks): Drop files where st.st_size < deduplicationMinSize. * nix/libstore/local-store.hh (deduplicationMinSize): New declaration. * nix/libstore/optimise-store.cc (deduplicationMinSize): New variable. (LocalStore::optimisePath_): Return when PATH is a symlink or smaller than 'deduplicationMinSize'. * tests/derivations.scm ("identical files are deduplicated"): Produce files bigger than %DEDUPLICATION-MINIMUM-SIZE. * tests/nar.scm ("restore-file-set with directories (signed, valid)"): Likewise. * tests/store-deduplication.scm ("deduplicate, below %deduplication-minimum-size"): New test. ("deduplicate", "deduplicate, ENOSPC"): Produce files bigger than %DEDUPLICATION-MINIMUM-SIZE. * tests/store.scm ("substitute, deduplication"): Likewise. Ludovic Courtès 5-22gnu: hss: Update to 1.9....* gnu/packages/ssh.scm (hss): Update to 1.9. [arguments]: Don't explicitly return #t from phases. Tobias Geerinckx-Rice 2022-04-29gnu: openssh: Trust Guix store directory...* gnu/local.mk (dist_patch_DATA): Add the patch * gnu/packages/patches/openssh-trust-guix-store-directory.patch: Patch it * gnu/packages/ssh.scm (openssh[source]): Use it. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Alexey Abramov 2022-03-07gnu: guile-ssh: Support cross-compilation....Cross-compilation broke with the update to 0.15.1 in eabc6af9b8b14bd629544e54bc9c9afa2d0dcd85. 'guile-snarf' would invoke cpp instead of TRIPLET-cpp, which would thus fail to find libssh headers. * gnu/packages/ssh.scm (guile-ssh)[arguments]: Add 'support-cross-compilation' phase. Ludovic Courtès 2022-03-01gnu: guile-ssh: Update to 0.15.1....* gnu/packages/patches/guile-ssh-fix-test-suite.patch, gnu/packages/patches/guile-ssh-read-error.patch: Remove. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/ssh.scm (guile-ssh): Update to 0.15.1, and remove those patches. (guile2.2-ssh)[source]: Remove. (guile2.0-ssh): Remove. Co-authored-by: poptsov.artyom@gmail.com (Artyom V. Poptsov) Ludovic Courtès 2022-02-27gnu: OpenSSH: Update to 8.9p1....* gnu/packages/ssh.scm (openssh): Update to 8.9p1. Leo Famulari 2022-02-18gnu: lsh: Build with optimizations....This is a followup to 1cdd6b09c8bc45c1ae5a16f16d5bcf33ab0ceb5e, which inadvertently turned off optimizations. * gnu/packages/ssh.scm (lsh)[arguments]: Add "-O2 -g" next to "-fcommon". Ludovic Courtès 2022-02-13gnu: lsh: Fix build with GCC 10....* gnu/packages/ssh.scm (lsh)[arguments]: Add "CFLAGS=-fcommon" to #:configure-flags. Don't explicitly return #t from phases. [source]: Don't explicitly return #t from snippet. Tobias Geerinckx-Rice 2022-01-14gnu: openssh: Add release-monitoring-url....* gnu/packages/ssh.scm (openssh)[properties]: New field. Efraim Flashner 2021-12-13gnu: Simplify package inputs....This commit was obtained by running: ./pre-inst-env guix style without any additional argument. Ludovic Courtès 2021-12-10Merge remote-tracking branch 'signed/master' into core-updatesMathieu Othacehe 2021-12-06gnu: openssh: Remove libfido2 dependency on GNU/Hurd....* gnu/packages/ssh.scm (openssh)[inputs]: Remove LIBFIDO2 when 'hurd-target?'. [arguments]: Likewise for "--with-security-key-builtin". Ludovic Courtès 2021-12-05Merge remote-tracking branch 'origin/master' into core-updates-frozenRicardo Wurmus