Skip to content

Commit 1eba904

Browse files
committed
nix/flake: fix build on windows
1 parent 98d75de commit 1eba904

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nix/flake.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -938,7 +938,7 @@ struct CmdFlakeInitCommon : virtual Args, EvalCommand
938938
}
939939
continue;
940940
} else
941-
createSymlink(target, to2);
941+
createSymlink(target, os_string_to_string(PathViewNG { to2 }));
942942
}
943943
else
944944
throw Error("file '%s' has unsupported type", from2);

0 commit comments

Comments
 (0)