Merge pull request #80453 from worldofpeace/p11-kit-flatpak
flatpak: use correct p11-kit output
This commit is contained in:
commit
a3eef895bb
@ -79,7 +79,7 @@ stdenv.mkDerivation rec {
|
||||
# Hardcode paths used by Flatpak itself.
|
||||
(substituteAll {
|
||||
src = ./fix-paths.patch;
|
||||
p11 = p11-kit;
|
||||
p11kit = "${p11-kit.dev}/bin/p11-kit";
|
||||
})
|
||||
|
||||
# Adapt paths exposed to sandbox for NixOS.
|
||||
|
@ -7,7 +7,7 @@ index 5dd7629e..ddc71a4c 100644
|
||||
int i;
|
||||
char *p11_argv[] = {
|
||||
- "p11-kit", "server",
|
||||
+ "@p11@/bin/p11-kit", "server",
|
||||
+ "@p11kit@", "server",
|
||||
/* We explicitly request --sh here, because we then fail on earlier versions that doesn't support
|
||||
* this flag. This is good, because those earlier versions did not properly daemonize and caused
|
||||
* the spawn_sync to hang forever, waiting for the pipe to close.
|
||||
|
Loading…
Reference in New Issue
Block a user