Construct empty optional when chdir is null

dblsaiko
May 3, 2024, 10:14 PM
IMOI4CR3ESVZ2QOUTYASNQ7NWU7G57MXX2VMX2644I4FKUYH7NJAC

Dependencies

  • [2] DYNXZQZV Uncouple some of the logic from Nix library and add basic tests
  • [3] KEPVL66D Partially fix build on Mac

Change contents

  • replacement in src/compat.cpp at line 37
    [2.4558][2.4558:4588]()
    .chdir = Path(chdir),
    [2.4558]
    [2.4588]
    .chdir = chdir ? Path(chdir) : std::optional<Path>(),