Skip to content

nix flake archive: add --no-check-sigs option#13277

Merged
Mic92 merged 1 commit intoNixOS:masterfrom
zimbatm:flake-archive-no-check-sigs
May 27, 2025
Merged

nix flake archive: add --no-check-sigs option#13277
Mic92 merged 1 commit intoNixOS:masterfrom
zimbatm:flake-archive-no-check-sigs

Conversation

@zimbatm
Copy link
Member

@zimbatm zimbatm commented May 27, 2025

Motivation

Allows to copy the archive to a remote host and not get

error: cannot add path '/nix/store/01x2k4nlxcpyd85nnr0b9gm89rm8ff4x-source' because it lacks a signature by a trusted key

The remote host also need to have the user be a trusted user.

Context


Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.

Allows to copy the archive to a remote host and not get

    error: cannot add path '/nix/store/01x2k4nlxcpyd85nnr0b9gm89rm8ff4x-source' because it lacks a signature by a trusted key
@zimbatm zimbatm requested a review from edolstra as a code owner May 27, 2025 12:40
@github-actions github-actions bot added the new-cli Relating to the "nix" command label May 27, 2025
@Mic92 Mic92 merged commit 9ddac1b into NixOS:master May 27, 2025
14 checks passed
@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/nix-2-30-0-released/66449/1

@roberth roberth added backport 2.28-maintenance Automatically creates a PR against the branch backport 2.29-maintenance Automatically creates a PR against the branch backports created Does not require attention and can be filtered away labels Jul 30, 2025
mergify bot added a commit that referenced this pull request Jul 31, 2025
…3277

nix flake archive: add --no-check-sigs option (backport #13277)
mergify bot added a commit that referenced this pull request Jul 31, 2025
…3277

nix flake archive: add --no-check-sigs option (backport #13277)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport 2.28-maintenance Automatically creates a PR against the branch backport 2.29-maintenance Automatically creates a PR against the branch backports created Does not require attention and can be filtered away new-cli Relating to the "nix" command

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants