From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 6J7pAhqJ6mMt2gAAbAwnHQ (envelope-from ) for ; Mon, 13 Feb 2023 20:01:46 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 8PboAhqJ6mPvUQEA9RJhRA (envelope-from ) for ; Mon, 13 Feb 2023 20:01:46 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C5434BC3F for ; Mon, 13 Feb 2023 20:01:45 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=BGxPWpjH; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676314905; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=in0Z1ZfjJfq+2VOePef4zPu0qOJk3cZ0Jfa9ioBWqQk=; b=umZEcwfQX6eSQifjgVP55utg5DICxAPR8Yqsp3vb+bJFpgi2D3FZOPhzLvT1Df+mueznuh /Od4ALMBrE7AGcwx7aUwD/2mAq5Xk4C1c463X/qpkEo/UoTGlABMKA9R0M6eqsPUSoXNj6 5VUYARXYMgYMS1ZHdee9+sxhMQ/0hGkL2Nzq61V+WkhIJGZZA3Nd3Zc6R5UcYt0wc6E/Go ey+InlvAuGSCQhkcPlEuf13ny/5Gxexiky7yZUxVma5RkQuH1Dgxo8w0hNU6kJSwlQTAei cQofGbtVhES8rGG2d6pf90EQnBJ2mK3xlsb+erQIaWuGnry1/A0pVSPHk8Q3MQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=BGxPWpjH; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676314905; a=rsa-sha256; cv=none; b=YOlJkweSJ4k9o+L69C/Lc548u7L6SceySQ6MU5HTXl+a+2Ri5a+X/Or7ZMnyI0GM6/Lg+j 25N5hgv2Yo6SzBrtsOr4YXi5FzbrETE9vIow0QtIXjCPXDNtfp04AwZSiHETGX0FXE6Jg6 ofMzVfGOu+Q0h6GyMfZxnHJQCQcjxoDrRUDPuL7bL+bzDqhZnYpCcped+A4Svpg8WsjWR0 SHy1VS/M7Tt7KjWX19IBSh6+REyaYgg44exmc+lCptS+83ab08WOLIWD32TJG3/JmhjlEZ yd7+l7Vj9IRbPbi6+hAnG7XiwpNmbeWWRaiyVZyRQ6YIcha+xhh4z3gVDpMTGA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pRe4Y-0002u9-C0; Mon, 13 Feb 2023 14:01:06 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pRe4W-0002ry-0m for guix-patches@gnu.org; Mon, 13 Feb 2023 14:01:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pRe4V-0003DZ-NJ for guix-patches@gnu.org; Mon, 13 Feb 2023 14:01:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pRe4V-0004AQ-JD for guix-patches@gnu.org; Mon, 13 Feb 2023 14:01:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61486] [PATCH] system: Update skeleton gdbinit. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 13 Feb 2023 19:01:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 61486 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61486@debbugs.gnu.org Cc: Efraim Flashner X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167631484715945 (code B ref -1); Mon, 13 Feb 2023 19:01:03 +0000 Received: (at submit) by debbugs.gnu.org; 13 Feb 2023 19:00:47 +0000 Received: from localhost ([127.0.0.1]:51631 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pRe4E-000496-T5 for submit@debbugs.gnu.org; Mon, 13 Feb 2023 14:00:47 -0500 Received: from lists.gnu.org ([209.51.188.17]:35176) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pRe4B-00048o-47 for submit@debbugs.gnu.org; Mon, 13 Feb 2023 14:00:43 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pRe4A-0002jx-5D for guix-patches@gnu.org; Mon, 13 Feb 2023 14:00:42 -0500 Received: from mail-ej1-x635.google.com ([2a00:1450:4864:20::635]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pRe45-00039p-GJ for guix-patches@gnu.org; Mon, 13 Feb 2023 14:00:41 -0500 Received: by mail-ej1-x635.google.com with SMTP id jg8so34328371ejc.6 for ; Mon, 13 Feb 2023 11:00:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:from:to:cc:subject:date:message-id:reply-to; bh=in0Z1ZfjJfq+2VOePef4zPu0qOJk3cZ0Jfa9ioBWqQk=; b=BGxPWpjHwxkBV4y231bqbrq6D5jhapNzbjRxtGkZwV0+6jKPCkGluD70N9+g2qFcFg 0X89VAVmXhPai56b1wuQvvstwzGcbj8Ho+XQlavyMLY9EdiF0ZpvnHdqdTMpFvkuHgyt 5j0wLlrg4mcqnM6Wk154+TJ1fK3GHAls88LAz3xDPimt5RC1zw690cmkWrVVKLANCQra yrr+/shLu9bpIQvKsHeJLxwY5XLeEJVWZUQy+kw5v/CRIpL1R1YdFBCMIcwb4/xpkNhn ym4ddCpqLdJP50tqFir/CVoY4dH/2r6SEdeK2M8ZSB4GEKaj9W0cHfwev0B7/Fzahrou rWGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=in0Z1ZfjJfq+2VOePef4zPu0qOJk3cZ0Jfa9ioBWqQk=; b=YqyUl41y3hVEAtwP9e9F3uxhoZA/l3Y8l/HubNp+sSHTPobk3FNDXA/v0ScEPwdyB5 +GbljcGk8E58ohz2GgBBx1IScYIocZ4pvC1R/TcJZPvFvv3+6tSNMLzqbhw5Da2MTwuo Wk32JsJRcIsXV3JpfvgfBeMrwjXOoQ9//StnAKDzUQna5m7zekdMLN3dtggQJOVv322h MQ7hG6Vjj6bZ2ME1HbS1xO079aW01LonA0IKutrzIPuybKNVdU4ZwGa8ax02YuClBhcc xCimkQy6MP+l67S+6BbF93blCQ6ezvLquGmy8I5aNqTyOeRRRZ5aqk6waFXIRvUuU1rE aK6g== X-Gm-Message-State: AO0yUKWHJazHk9fcZJkPkFqt/4nYdnLmzlUoqWrnff1m9aZR3CMbIUd1 TKPcqInh3A5IOaMnFDMA3ekovHdvmEfTBg== X-Google-Smtp-Source: AK7set/QwMB9Z60Ey0w/lZ/1+ltItgwngIrJKl+l8E5WOZxe17wwB5n8scGPHUf7lwR6OeR5GpLv7g== X-Received: by 2002:a17:907:9b05:b0:8aa:c2bd:a71c with SMTP id kn5-20020a1709079b0500b008aac2bda71cmr22158939ejc.75.1676314835401; Mon, 13 Feb 2023 11:00:35 -0800 (PST) Received: from localhost ([141.226.15.115]) by smtp.gmail.com with ESMTPSA id s29-20020a508d1d000000b004acc5077026sm2441116eds.79.2023.02.13.11.00.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Feb 2023 11:00:34 -0800 (PST) From: Efraim Flashner Date: Mon, 13 Feb 2023 21:00:22 +0200 Message-Id: <08c09168cea2ab383bb6664682d3e8c52f70f131.1676314760.git.efraim@flashner.co.il> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::635; envelope-from=efraim.flashner@gmail.com; helo=mail-ej1-x635.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: X-Migadu-Queue-Id: C5434BC3F X-Spam-Score: 1.38 X-Migadu-Spam-Score: 1.38 X-Migadu-Scanner: scn0.migadu.com List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-TUID: X53Ay+o0cKJz * gnu/system/shadow.scm (default-skeleton): Update gdbinit to also search for debug packages in guix-home. (skeleton-directory): Move .gdbinit to .config/gdb/gdbinit. --- gnu/system/shadow.scm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gnu/system/shadow.scm b/gnu/system/shadow.scm index 445a72e2f5..5802c9dfc0 100644 --- a/gnu/system/shadow.scm +++ b/gnu/system/shadow.scm @@ -2,7 +2,7 @@ ;;; Copyright © 2013-2020, 2022 Ludovic Courtès ;;; Copyright © 2016 Alex Griffin ;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen -;;; Copyright © 2020 Efraim Flashner +;;; Copyright © 2020, 2023 Efraim Flashner ;;; Copyright © 2020 Maxim Cournoyer ;;; ;;; This file is part of GNU Guix. @@ -169,7 +169,8 @@ (define (default-skeletons) (use-modules (gdb)) (execute (string-append \"set debug-file-directory \" (or (getenv \"GDB_DEBUG_FILE_DIRECTORY\") - \"~/.guix-profile/lib/debug\"))) + \"~/.guix-profile/lib/debug\" + \"~/.guix-home/profile/lib/debug\"))) end # Authorize extensions found in the store, such as the @@ -228,6 +229,9 @@ (define (skeleton-directory skeletons) (when (file-exists? ".nanorc") (mkdir-p ".config/nano") (rename-file ".nanorc" ".config/nano/nanorc")) + (when (file-exists? ".gdbinit") + (mkdir-p ".config/gdb") + (rename-file ".gdbinit" ".config/gdb/gdbinit")) #t)))) (define (find-duplicates list) base-commit: dd724cfad45d76b9dcc5b073876c995715c92a07 -- Efraim Flashner אפרים פלשנר GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted