Skip to content

nix flake clone: Support all input types#14581

Merged
edolstra merged 2 commits intomasterfrom
clone-all
Nov 17, 2025
Merged

nix flake clone: Support all input types#14581
edolstra merged 2 commits intomasterfrom
clone-all

Conversation

@edolstra
Copy link
Member

Motivation

This makes nix flake clone work on all input types, including tarballs, e.g.

# nix flake clone "https://flakehub.com/f/NixOS/nixpkgs/*" --dest nixpkgs

Context

Taken from DeterminateSystems#229.


Add 👍 to pull requests you find important.

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

@github-actions github-actions bot added new-cli Relating to the "nix" command with-tests Issues related to testing. PRs with tests have some priority fetching Networking with the outside (non-Nix) world, input locking labels Nov 17, 2025
For input types that have no concept of cloning, we now default to
copying the entire source tree.
@edolstra edolstra enabled auto-merge November 17, 2025 18:51
@edolstra edolstra added this pull request to the merge queue Nov 17, 2025
Merged via the queue into master with commit f6aa8c0 Nov 17, 2025
20 checks passed
@edolstra edolstra deleted the clone-all branch November 17, 2025 20:12
@edolstra edolstra mentioned this pull request Dec 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fetching Networking with the outside (non-Nix) world, input locking new-cli Relating to the "nix" command with-tests Issues related to testing. PRs with tests have some priority

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants