Process --option use-case-hack properly

Fixes https://github.com/NixOS/nix/issues/2009.
This commit is contained in:
Eelco Dolstra
2018-03-29 12:28:29 +02:00
parent 9d1220a01d
commit 2b61c74922
+1 -1
View File
@@ -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;
}
};