Process --option use-case-hack properly

Fixes https://github.com/NixOS/nix/issues/2009.
This commit is contained in:
Eelco Dolstra 2018-03-27 15:34:37 +02:00
parent 9d1220a01d
commit 2b61c74922
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

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;
}
};