summary refs log tree commit diff
diff options
context:
space:
mode:
authorxapkohheh <xapkohheh@something.no>2023-05-10 20:26:40 +0200
committerxapkohheh <xapkohheh@something.no>2023-05-10 20:26:40 +0200
commitca7cece9bf5b28b92f6ce5973db68d161e7ea526 (patch)
tree18d89fd78142e96cb659ff4bbd4512487e5934ac
parent23b7205f46eb29b4e6e6e8d210dd6270e056c9d8 (diff)
downloadnixpkgs-ca7cece9bf5b28b92f6ce5973db68d161e7ea526.tar
nixpkgs-ca7cece9bf5b28b92f6ce5973db68d161e7ea526.tar.gz
nixpkgs-ca7cece9bf5b28b92f6ce5973db68d161e7ea526.tar.bz2
nixpkgs-ca7cece9bf5b28b92f6ce5973db68d161e7ea526.tar.lz
nixpkgs-ca7cece9bf5b28b92f6ce5973db68d161e7ea526.tar.xz
nixpkgs-ca7cece9bf5b28b92f6ce5973db68d161e7ea526.tar.zst
nixpkgs-ca7cece9bf5b28b92f6ce5973db68d161e7ea526.zip
houdini: disabled dieWithParent, unsharePid
Due to the nature of the software, it forks and expects children to
outlive the parent, therefore dieWithParent needs to be disabled
Also licensing mechanism seem to be checking processes for it's
licensing helper process running. that process must be same for multiple
instances of houdini itself, therefore Pid namespace has to be the same
for all of them.
-rw-r--r--pkgs/applications/misc/houdini/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/applications/misc/houdini/default.nix b/pkgs/applications/misc/houdini/default.nix
index a1c78118e71..890a78b5d3e 100644
--- a/pkgs/applications/misc/houdini/default.nix
+++ b/pkgs/applications/misc/houdini/default.nix
@@ -3,6 +3,12 @@
 buildFHSEnv rec {
   name = "houdini-${unwrapped.version}";
 
+  # houdini spawns hserver (and other license tools) that is supposed to live beyond the lifespan of houdini process
+  dieWithParent = false;
+
+  # houdini needs to communicate with hserver process that it seem to be checking to be present in running processes
+  unsharePid = false;
+
   targetPkgs = pkgs: with pkgs; [
     libGLU
     libGL