mirror of
https://github.com/NixOS/nix.git
synced 2024-11-25 08:12:29 +00:00
Don't use OS_STR
in nix-channel.cc
This commit is contained in:
parent
58ef129502
commit
9ccad9708e
@ -166,7 +166,7 @@ static int main_nix_channel(int argc, char ** argv)
|
||||
{
|
||||
// Figure out the name of the `.nix-channels' file to use
|
||||
auto home = getHome();
|
||||
channelsList = settings.useXDGBaseDirectories ? createNixStateDir() + OS_STR("/channels") : home + OS_STR("/.nix-channels");
|
||||
channelsList = settings.useXDGBaseDirectories ? createNixStateDir() + "/channels" : home + "/.nix-channels";
|
||||
nixDefExpr = getNixDefExpr();
|
||||
|
||||
// Figure out the name of the channels profile.
|
||||
|
Loading…
Reference in New Issue
Block a user