Fix passing EnvMap for Flatpak builds
When using -Dflatpak=true the EnvMap was passed as the incorrect type.pull/6647/head
parent
843cc83f42
commit
300f4544ef
|
|
@ -1105,7 +1105,7 @@ const Subprocess = struct {
|
|||
// Flatpak command must have a stable pointer.
|
||||
self.flatpak_command = .{
|
||||
.argv = self.args,
|
||||
.env = &self.env,
|
||||
.env = if (self.env) |*env| env else null,
|
||||
.stdin = pty.slave,
|
||||
.stdout = pty.slave,
|
||||
.stderr = pty.slave,
|
||||
|
|
|
|||
Loading…
Reference in New Issue