Giter Site home page Giter Site logo

Comments (3)

Kranzes avatar Kranzes commented on May 24, 2024

Potentially caused by #9242

from nix.

flokli avatar flokli commented on May 24, 2024

That PR description even mentions the stability in structured attrs:

This keeps the human oriented CLI logic (which is currently stable) and the core domain logic (export reference graphs with structured attrs, which is stable), separate, which I think is better.

from nix.

tomberek avatar tomberek commented on May 24, 2024

New output has a "valid" field.

  {
    "closureSize": 2216152,
    "narHash": "sha256:0z1mdik09afiskvxjzcxl60sq0rzvh7lx6a7hxs2q1s379r6n1n5",
    "narSize": 358784,
    "path": "/nix/store/w4djxksksd1p8m054k537plqnif5858k-libidn2-2.3.4",
    "references": [
      "/nix/store/4r64z7v5l40pg6r0hd169bcs85c8c42b-libunistring-1.1",
      "/nix/store/w4djxksksd1p8m054k537plqnif5858k-libidn2-2.3.4"
    ],
    "valid": true
  }

Perhaps just:

diff --git a/src/libstore/parsed-derivations.cc b/src/libstore/parsed-derivations.cc
index 72f45143d..09801919f 100644
--- a/src/libstore/parsed-derivations.cc
+++ b/src/libstore/parsed-derivations.cc
@@ -151,8 +151,6 @@ static nlohmann::json pathInfoToJSON(
         // Add the path to the object whose metadata we are including.
         jsonPath["path"] = store.printStorePath(storePath);

-        jsonPath["valid"] = true;
-
         jsonPath["closureSize"] = ({
             uint64_t totalNarSize = 0;
             StorePathSet closure;

from nix.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.