Skip to content

Commit

Permalink
Attempt to make the FlakeRef test succeed on macOS
Browse files Browse the repository at this point in the history
(cherry picked from commit 3ad0f45)
  • Loading branch information
edolstra authored and mergify[bot] committed Jan 9, 2025
1 parent 5250283 commit 074f343
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libflake-tests/flakeref.cc
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ namespace nix {
/* ----------- tests for flake/flakeref.hh --------------------------------------------------*/

TEST(parseFlakeRef, path) {
experimentalFeatureSettings.experimentalFeatures.get().insert(Xp::Flakes);

fetchers::Settings fetchSettings;

{
Expand Down
1 change: 1 addition & 0 deletions src/libutil/config.hh
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ public:
operator const T &() const { return value; }
operator T &() { return value; }
const T & get() const { return value; }
T & get() { return value; }
template<typename U>
bool operator ==(const U & v2) const { return value == v2; }
template<typename U>
Expand Down

0 comments on commit 074f343

Please sign in to comment.