diff options
author | Théophane Hufschmitt <regnat@users.noreply.github.com> | 2021-12-14 10:35:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-14 10:35:37 +0100 |
commit | 8868da45a87699d6a0791a11a1a83d8a2c78cb24 (patch) | |
tree | a49c574151e714ecfc689f9f79afde19247540b2 /src/libexpr/flake/flake.cc | |
parent | 99d617bcde8d1639f9eb86e9310274aee0b7c8c9 (diff) | |
parent | bb8a53ab08c43425c6073aff5fe34bd5bc93dd13 (diff) |
Merge pull request #5623 from yorickvP/fix-5621
flakes: fix boolean and int nixConfig values
Diffstat (limited to 'src/libexpr/flake/flake.cc')
-rw-r--r-- | src/libexpr/flake/flake.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/flake/flake.cc b/src/libexpr/flake/flake.cc index f598400fc..b15878d5c 100644 --- a/src/libexpr/flake/flake.cc +++ b/src/libexpr/flake/flake.cc @@ -254,7 +254,7 @@ static Flake getFlake( else if (setting.value->type() == nInt) flake.config.settings.insert({setting.name, state.forceInt(*setting.value, *setting.pos)}); else if (setting.value->type() == nBool) - flake.config.settings.insert({setting.name, state.forceBool(*setting.value, *setting.pos)}); + flake.config.settings.insert({setting.name, Explicit<bool> { state.forceBool(*setting.value, *setting.pos) }}); else if (setting.value->type() == nList) { std::vector<std::string> ss; for (auto elem : setting.value->listItems()) { |