Comments (3)
Potentially caused by #9242
from nix.
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.
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)
- Implement process spawning on Windows HOT 3
- Implement `PathLocks` on windows HOT 1
- Run unit tests in Wine in CI HOT 3
- Error installing nix in MacOS chip M1 after accidentally installed the linux version HOT 1
- Rename `PosixSourceAccessor` to `NativeSourceAccessor` HOT 2
- Enable the local store on Windows
- First CTRL-C as graceful stop
- C API: Use opaque structs instead of void
- Test "fix exportReferencesGraph when given store subpath"
- trace: warning while doing nix-env -u HOT 3
- Test environment report
- How to use setupHook/shellHook in the new cli (nix shell) HOT 2
- Under release notes, add more info on which releases are stable and unstable.
- fetchTarball fails after downloading proton-ge HOT 1
- Nix install fails after migration assistant HOT 2
- C API: Improve value initializers HOT 4
- Cannot remove /nix HOT 1
- Build capability interface HOT 1
- `NIX_REMOTE` appears to be a URL, but does not unescape the path HOT 1
- `fchmodat2` seccomp filter breaks sandboxed builds with glibc 2.38 HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nix.