aboutsummaryrefslogtreecommitdiff
path: root/src/nix-env/nix-env.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2022-01-04 18:40:39 +0100
committerEelco Dolstra <edolstra@gmail.com>2022-01-04 18:40:39 +0100
commit263a8d293c67488065296737cdadee3d0e122bf5 (patch)
tree72e62a364a0bb158be82b77e77c0ef1a381479c5 /src/nix-env/nix-env.cc
parentcc08364315437bfd870363220373c48f64862e83 (diff)
Remove non-method mk<X> functions
Diffstat (limited to 'src/nix-env/nix-env.cc')
-rw-r--r--src/nix-env/nix-env.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix-env/nix-env.cc b/src/nix-env/nix-env.cc
index 7393d91f9..f64075567 100644
--- a/src/nix-env/nix-env.cc
+++ b/src/nix-env/nix-env.cc
@@ -408,7 +408,7 @@ static void queryInstSources(EvalState & state,
Expr * eFun = state.parseExprFromString(i, absPath("."));
Value vFun, vTmp;
state.eval(eFun, vFun);
- mkApp(vTmp, vFun, vArg);
+ vTmp.mkApp(&vFun, &vArg);
getDerivations(state, vTmp, "", *instSource.autoArgs, elems, true);
}