guix: Add copyright headers to Guix scripts
What changed, and why it matters
This commit only adds or updates copyright and license header comments at the top of several helper scripts used for Bitcoin Core's Guix build process. It does not change any executable code, logic, or behavior. There is no security risk.
No action needed; this is a non-functional documentation/licensing change.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff inserts standard MIT copyright headers into six Guix shell scripts and updates an existing header in one file (codesign.sh) to match the project’s current copyright wording and license URL. No functional code, command sequences, or build behavior is modified.
Changed components
contrib/guix/guix-attestcontrib/guix/guix-buildcontrib/guix/guix-cleancontrib/guix/guix-codesigncontrib/guix/guix-verifycontrib/guix/libexec/codesign.shcontrib/guix/libexec/prelude.bashInspect captured patch +20 / −2
diff --git a/contrib/guix/guix-attest b/contrib/guix/guix-attest
index 1827dfe0..b3a20100 100755
--- a/contrib/guix/guix-attest
+++ b/contrib/guix/guix-attest
@@ -1,4 +1,7 @@
#!/usr/bin/env bash
+# Copyright (c) The Bitcoin Core developers
+# Distributed under the MIT software license, see the accompanying
+# file COPYING or https://opensource.org/license/mit.
export LC_ALL=C.UTF-8
set -e -o pipefail
diff --git a/contrib/guix/guix-build b/contrib/guix/guix-build
index a80411df..9afe00a0 100755
--- a/contrib/guix/guix-build
+++ b/contrib/guix/guix-build
@@ -1,4 +1,7 @@
#!/usr/bin/env bash
+# Copyright (c) The Bitcoin Core developers
+# Distributed under the MIT software license, see the accompanying
+# file COPYING or https://opensource.org/license/mit.
export LC_ALL=C.UTF-8
set -o errexit -o pipefail
diff --git a/contrib/guix/guix-clean b/contrib/guix/guix-clean
index 434271de..96cc2832 100755
--- a/contrib/guix/guix-clean
+++ b/contrib/guix/guix-clean
@@ -1,4 +1,7 @@
#!/usr/bin/env bash
+# Copyright (c) The Bitcoin Core developers
+# Distributed under the MIT software license, see the accompanying
+# file COPYING or https://opensource.org/license/mit.
export LC_ALL=C.UTF-8
set -e -o pipefail
diff --git a/contrib/guix/guix-codesign b/contrib/guix/guix-codesign
index 0300c368..3b139e1f 100755
--- a/contrib/guix/guix-codesign
+++ b/contrib/guix/guix-codesign
@@ -1,4 +1,7 @@
#!/usr/bin/env bash
+# Copyright (c) The Bitcoin Core developers
+# Distributed under the MIT software license, see the accompanying
+# file COPYING or https://opensource.org/license/mit.
export LC_ALL=C.UTF-8
set -e -o pipefail
diff --git a/contrib/guix/guix-verify b/contrib/guix/guix-verify
index 27d5d14e..8e7fbb90 100755
--- a/contrib/guix/guix-verify
+++ b/contrib/guix/guix-verify
@@ -1,4 +1,7 @@
#!/usr/bin/env bash
+# Copyright (c) The Bitcoin Core developers
+# Distributed under the MIT software license, see the accompanying
+# file COPYING or https://opensource.org/license/mit.
export LC_ALL=C.UTF-8
set -e -o pipefail
diff --git a/contrib/guix/libexec/codesign.sh b/contrib/guix/libexec/codesign.sh
index 517c7430..620fe319 100755
--- a/contrib/guix/libexec/codesign.sh
+++ b/contrib/guix/libexec/codesign.sh
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
-# Copyright (c) 2021-present The Bitcoin Core developers
+# Copyright (c) The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
-# file COPYING or http://www.opensource.org/licenses/mit-license.php.
+# file COPYING or https://opensource.org/license/mit.
export LC_ALL=C.UTF-8
set -e -o pipefail
diff --git a/contrib/guix/libexec/prelude.bash b/contrib/guix/libexec/prelude.bash
index 38a040b7..2fe5c738 100644
--- a/contrib/guix/libexec/prelude.bash
+++ b/contrib/guix/libexec/prelude.bash
@@ -1,4 +1,7 @@
#!/usr/bin/env bash
+# Copyright (c) The Bitcoin Core developers
+# Distributed under the MIT software license, see the accompanying
+# file COPYING or https://opensource.org/license/mit.
export LC_ALL=C.UTF-8
set -o errexit -o pipefail
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.