Skip to content

Equality check on derivations should use derivation path #239

Closed as not planned

Description

@edolstra

Currently eqValues does this:

                Bindings::iterator i = v1.attrs->find(sOutPath);
                Bindings::iterator j = v2.attrs->find(sOutPath);
                if (i != v1.attrs->end() && j != v2.attrs->end())
                    return eqValues(*i->value, *j->value);

i.e. it compares the "out" paths of the derivations, which might not exist. It should compare the derivation path instead.

Activity

  1. stale commented on Feb 16, 2021

    @stale

    I marked this as stale due to inactivity. → More info

  2. stale commented on Apr 30, 2022

    @stale

    I closed this issue due to inactivity. → More info

  3. removed their assignment
    on Apr 26, 2024
  4. added a commit that references this issue on Feb 26, 2025
  5. added a commit that references this issue on Nov 4, 2025
  6. tomberek commented on Aug 13, 2026

    @tomberek
    Contributor

    Closing as stale. Re-open if needed.

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions