mirror of
https://github.com/NixOS/nix
synced 2025-06-25 19:01:16 +02:00
Attempt to make the FlakeRef test succeed on macOS
This commit is contained in:
parent
1a38e62a09
commit
3ad0f45e79
2 changed files with 3 additions and 0 deletions
|
@ -8,6 +8,8 @@ namespace nix {
|
||||||
/* ----------- tests for flake/flakeref.hh --------------------------------------------------*/
|
/* ----------- tests for flake/flakeref.hh --------------------------------------------------*/
|
||||||
|
|
||||||
TEST(parseFlakeRef, path) {
|
TEST(parseFlakeRef, path) {
|
||||||
|
experimentalFeatureSettings.experimentalFeatures.get().insert(Xp::Flakes);
|
||||||
|
|
||||||
fetchers::Settings fetchSettings;
|
fetchers::Settings fetchSettings;
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
|
@ -262,6 +262,7 @@ public:
|
||||||
operator const T &() const { return value; }
|
operator const T &() const { return value; }
|
||||||
operator T &() { return value; }
|
operator T &() { return value; }
|
||||||
const T & get() const { return value; }
|
const T & get() const { return value; }
|
||||||
|
T & get() { return value; }
|
||||||
template<typename U>
|
template<typename U>
|
||||||
bool operator ==(const U & v2) const { return value == v2; }
|
bool operator ==(const U & v2) const { return value == v2; }
|
||||||
template<typename U>
|
template<typename U>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue