Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test "fix exportReferencesGraph when given store subpath" #10565

Open
roberth opened this issue Apr 19, 2024 · 1 comment
Open

Test "fix exportReferencesGraph when given store subpath" #10565

roberth opened this issue Apr 19, 2024 · 1 comment
Labels

Comments

@roberth
Copy link
Member

roberth commented Apr 19, 2024

Priorities

Add 馃憤 to issues you find important.

@ShamrockLee
Copy link
Contributor

ShamrockLee commented Jun 3, 2024

I'm still inspecting how it works, but paths returned from lib.getExe seem to reproduce this issue reliably.

Here is a single-line reproducer based on Nixpkgs:
nix-build --no-out-link -E "let lib = import ./lib; pkgs = import ./. { }; path = lib.getExe pkgs.hello; in pkgs.runCommandLocal ''reference-graph-structured'' { __structuredAttrs = true; nativeBuildInputs = [ pkgs.buildPackages.jq ]; exportReferencesGraph.graph = [ path ]; } ''jq . \$NIX_ATTRS_JSON_FILE | tee \$out''"

Here is the initial discussion: NixOS/nixpkgs#316652 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants