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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example doesn't work #8

Open
manveru opened this issue Apr 13, 2016 · 2 comments
Open

Example doesn't work #8

manveru opened this issue Apr 13, 2016 · 2 comments

Comments

@manveru
Copy link

manveru commented Apr 13, 2016

% ./example
building path(s) ‘/nix/store/z8cwhm4129r3bdbag96h3dlkzrvd7dby-print-args.so’
/nix/store/bj8661ig37sslpgq7ikvlv6cj5fwk861-print-args.cc: In function 'void print(nix::EvalState&, const nix::Pos&, nix::Value**, nix::Value&)':
/nix/store/bj8661ig37sslpgq7ikvlv6cj5fwk861-print-args.cc:7:49: error: 'struct nix::Value' has no member named 'list'
   for (unsigned int index = 0; index < args[0]->list.length; ++index) {
                                                 ^
/nix/store/bj8661ig37sslpgq7ikvlv6cj5fwk861-print-args.cc:8:49: error: 'struct nix::Value' has no member named 'list'
     auto str = state.forceStringNoCtx(*args[0]->list.elems[index], pos);
                                                 ^
builder for ‘/nix/store/qwamdgqir83fsihry9w2c578f1mb86x7-print-args.so.drv’ failed with exit code 1
error: build of ‘/nix/store/qwamdgqir83fsihry9w2c578f1mb86x7-print-args.so.drv’ failed
@shlevy
Copy link
Owner

shlevy commented Apr 13, 2016

Thanks, will update the example for changes in nix.

@shlevy
Copy link
Owner

shlevy commented Aug 26, 2016

The ongoing UI improvements have shaken up argument handling, so I'm gonna hold off on this until that's released.

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

No branches or pull requests

2 participants