Commit ca7cece9 authored by xapkohheh's avatar xapkohheh
Browse files

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.
parent 23b7205f
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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