aboutsummaryrefslogtreecommitdiff
path: root/guix/git.scm
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2024-05-15 22:47:59 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2024-05-15 22:53:31 -0400
commit35ae95061e1b843e1df069693177519f22f9a16d (patch)
tree90b5847d4dd4f3e3a80391d0e1ca6e134ae3a793 /guix/git.scm
parente66b8d0534acc55264470cf22fe0af111df52347 (diff)
downloadguix-35ae95061e1b843e1df069693177519f22f9a16d.tar
guix-35ae95061e1b843e1df069693177519f22f9a16d.tar.gz
system: Do not delete all nss-certs packages when they are the same object.
Calling 'delete' on the list of packages would delete *all* occurrences of a given object, not just the first one. This meant that if the user had something like: (packages (cons nss-certs %base-packages)) In their operating system declaration, no nss-certs would end up in the final list. To guard against this, guard against this by checking that more than one nss-certs package exist even after deduplication. * gnu/system.scm (operating-system-packages): Guard against deleting all nss-certs when a single nss-certs package object is listed multiple times. Fixes: https://issues.guix.gnu.org/70850 Change-Id: Id93be9242e026fd2e96a442941df80b94664ef9a
Diffstat (limited to 'guix/git.scm')
0 files changed, 0 insertions, 0 deletions