diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-10-19 12:03:15 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-10-22 13:40:30 +0200 |
commit | 750ce500c221ecd4720a5b02e3f3cbb0bc05ef9d (patch) | |
tree | 67a3fd689cba89a0c1b923f313b9a3c8b383bbe6 /src/nix | |
parent | f9438fb64a223c05ebcfffa9706e1ca811a87d70 (diff) |
Fix clang build
Diffstat (limited to 'src/nix')
-rw-r--r-- | src/nix/develop.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nix/develop.cc b/src/nix/develop.cc index 7a5f7e218..d3c4761a7 100644 --- a/src/nix/develop.cc +++ b/src/nix/develop.cc @@ -248,9 +248,9 @@ struct Common : InstallableCommand, MixProfile } /* Substitute redirects. */ - for (auto & [installableS, dir] : redirects) { - dir = absPath(dir); - auto installable = parseInstallable(store, installableS); + for (auto & [installable_, dir_] : redirects) { + auto dir = absPath(dir_); + auto installable = parseInstallable(store, installable_); auto buildable = installable->toBuildable(); auto doRedirect = [&](const StorePath & path) { |