diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2018-03-27 15:34:37 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2018-03-29 12:28:29 +0200 |
commit | 2b61c749227fcfc05e34bb9ea568602868ec11cb (patch) | |
tree | 335361965b37c37635311a482946000b88507f47 /src | |
parent | 9d1220a01d662c1089e77f16d5d3e1ead8f0ed4d (diff) |
Process --option use-case-hack properly
Fixes https://github.com/NixOS/nix/issues/2009.
Diffstat (limited to 'src')
-rw-r--r-- | src/libstore/globals.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/globals.hh b/src/libstore/globals.hh index dd01f832d..117404ec1 100644 --- a/src/libstore/globals.hh +++ b/src/libstore/globals.hh @@ -29,7 +29,7 @@ struct CaseHackSetting : public BaseSetting<bool> void set(const std::string & str) override { BaseSetting<bool>::set(str); - nix::useCaseHack = true; + nix::useCaseHack = value; } }; |