Skip to content

Nix should not depend on Nix #11741

@edolstra

Description

@edolstra

Describe the bug

It was pointed out in #11726 that the Meson build of Nix depends on Nix:

nix = find_program('nix', native : true)

This is fine when the manual is built in its own derivation, but not when it's built in a dev shell or a single derivation. In the old build system, the manual has a make rule that causes it to depend on the nix binary from the same build process.

Steps To Reproduce

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

A clear and concise description of what you expected to happen.

nix-env --version output

Additional context

Add any other context about the problem here.

Priorities

Add 👍 to issues you find important.

Metadata

Metadata

Assignees

Labels

bugbuild-problemNix fails to compile or test; also improvements to build process
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions