Skip to content

nixos/nix-daemon: Flake inputs with dir parameter broken #380868

Open
@thegleich

Description

Nixpkgs version

  • Stable (24.11)

Describe the bug

Nix version 2.24.12 (current default) has a bug where supplying the dir parameter doesn't work. This breaks all inputs using such functionality.

Further info can be found here: NixOS/nix#12417

Steps to reproduce

nix flake clone git+ssh://[email protected]/NixOS/nix?dir=tests/functional/ca/flake.nix --dest test

Expected behaviour

The repo should be cloned successfully.

Screenshots

No response

Relevant log output

Additional context

No response

System metadata

  • system: "x86_64-linux"
  • host os: Linux 6.6.63, NixOS, 24.11 (Vicuna), 24.11.20250206.f5a32fa
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.24.12
  • nixpkgs: /nix/store/5bni29qxcvbqygs8asgzd7gf5vvrs6ay-source

Notify maintainers

@roberth

Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

I assert that this issue is relevant for Nixpkgs

Is this issue important to you?

Add a 👍 reaction to issues you find important.

Metadata

Assignees

No one assigned

    Labels

    0.kind: bugSomething is broken6.topic: nixosIssues or PRs affecting NixOS modules, or package usability issues specific to NixOS

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions