Skip to content

buildEnv fails when there's only one package and pathsToLink is specified #16741

Closed

Description

@abbradar

Issue description

When there's only one package (or possibly several but with only one containing specified paths) and non-trivial pathsToLink is specified, buildEnv builds an empty tree.

Steps to reproduce

  1. Build this Nix expression:
buildEnv {
  name = "test";
  paths = [ hello ];
  pathsToLink = [ "/share" ];
}
  1. Observe results.

Technical details

  • Nix version: (run nix-env --version) nix-env (Nix) 1.12pre4523_3b81b26
  • Nixpkgs version: (run nix-instantiate --eval '<nixpkgs>' -A lib.nixpkgsVersion) 16.09.git.469c37c (master)

Activity

  1. added
    0.kind: bug
    on Jul 6, 2016
  2. abbradar commented on Jul 13, 2016

    @abbradar
    MemberAuthor

    Closed by 0172558

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: bug

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions