aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/flake/flake.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-01-31 19:35:28 +0100
committerEelco Dolstra <edolstra@gmail.com>2020-01-31 19:35:28 +0100
commit185c3c824015f03027b77b85221df32cdb16e759 (patch)
tree6d8d2a0faad6d1c40fbad291bf8365a5141aa8b1 /src/libexpr/flake/flake.cc
parent8414685c0f0c0d744c70d438894e4ecd7a078808 (diff)
Cleanup
Diffstat (limited to 'src/libexpr/flake/flake.cc')
-rw-r--r--src/libexpr/flake/flake.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/flake/flake.cc b/src/libexpr/flake/flake.cc
index 21d98089f..c40a903b9 100644
--- a/src/libexpr/flake/flake.cc
+++ b/src/libexpr/flake/flake.cc
@@ -68,7 +68,7 @@ static FlakeInput parseFlakeInput(EvalState & state,
expectType(state, tAttrs, *value, pos);
FlakeInput input {
- .ref = parseFlakeRef(inputName)
+ .ref = FlakeRef::fromAttrs({{"type", "indirect"}, {"id", inputName}})
};
auto sInputs = state.symbols.create("inputs");