Skip to content

Commit

Permalink
Update to new nix
Browse files Browse the repository at this point in the history
  • Loading branch information
shlevy committed Aug 14, 2015
1 parent bf5149f commit ec3966e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
AC_INIT([nix-exec], [4.1.0])
AC_INIT([nix-exec], [4.1.1])

AM_INIT_AUTOMAKE([foreign -Wall subdir-objects dist-xz no-dist-gzip])

Expand Down
2 changes: 1 addition & 1 deletion src/nix-exec-lib.cc
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ class dlopen_value : public io_value {
throw nix::EvalError(format("could not load symbol `%1%' from `%2%': %3%") % symbol % filename % err);

state.forceList(args, pos);
fn(state, pos, args.list.elems, arg);
fn(state, pos, args.listElems(), arg);
}
if (fns.empty()) {
v = arg;
Expand Down
2 changes: 1 addition & 1 deletion src/nix-exec.cc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

static void setup_args(nix::EvalState & state, nix::Value & args, nix::Strings::difference_type arg_count) {
state.mkList(args, arg_count);
auto elem = args.list.elems;
auto elem = args.listElems();
auto argv = nixexec_argv + (nixexec_argc - arg_count);
do {
*elem = state.allocValue();
Expand Down

0 comments on commit ec3966e

Please sign in to comment.