mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-04 20:13:21 +00:00
e5fd403ad0
This commit breaks down multipass into two intermediate packages, `multipassd` and `multipass-gui`. These are then packaged up with `symlinkJoin` to work around some intricacies in the `buildFlutterApplication` process which would otherwise be difficult to patch. The multipass repo is setup upstream such that the flutter app would be built as part of the regular cmake process, but that can't work here due to the fetching of the flutter dependencies. The upstream multipass project builds `libdart_ffi.so`, which is needed in the LD_LIBRARY_PATH of the GUI. Building the two derivations seperately enables that to be done relatively simply.
14 lines
486 B
Diff
14 lines
486 B
Diff
diff --git a/src/platform/backends/lxd/lxd_request.h b/src/platform/backends/lxd/lxd_request.h
|
|
index 4b5e8840..5e673ad7 100644
|
|
--- a/src/platform/backends/lxd/lxd_request.h
|
|
+++ b/src/platform/backends/lxd/lxd_request.h
|
|
@@ -27,7 +27,7 @@
|
|
|
|
namespace multipass
|
|
{
|
|
-const QUrl lxd_socket_url{"unix:///var/snap/lxd/common/lxd/unix.socket@1.0"};
|
|
+const QUrl lxd_socket_url{"unix:///var/lib/lxd/unix.socket@1.0"};
|
|
const QString lxd_project_name{"multipass"};
|
|
|
|
class NetworkAccessManager;
|