Skip to content

Commit

Permalink
houdini: fix fhsenv version
Browse files Browse the repository at this point in the history
  • Loading branch information
Stunkymonkey committed Dec 10, 2024
1 parent 7cc4821 commit 86731c1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkgs/by-name/ho/houdini/package.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ lib, stdenv, writeScript, ncurses5, callPackage, buildFHSEnv, unwrapped ? callPackage ./runtime.nix {} }:

buildFHSEnv rec {
name = "houdini-${unwrapped.version}";
inherit (unwrapped) pname version;

# houdini spawns hserver (and other license tools) that is supposed to live beyond the lifespan of houdini process
dieWithParent = false;
Expand Down Expand Up @@ -76,7 +76,7 @@ buildFHSEnv rec {
"houdini/sbin/sesinetd"
];
in ''
WRAPPER=$out/bin/${name}
WRAPPER=$out/bin/houdini
EXECUTABLES="${lib.concatStringsSep " " executables}"
for executable in $EXECUTABLES; do
mkdir -p $out/$(dirname $executable)
Expand All @@ -94,7 +94,7 @@ buildFHSEnv rec {
"--ro-bind-try /etc/OpenCL/vendors /etc/OpenCL/vendors" # this is the case of not NixOS
];

runScript = writeScript "${name}-wrapper" ''
runScript = writeScript "houdini-wrapper" ''
# ncurses5 is needed by hfs ocl backend
# workaround for this issue: https://github.com/NixOS/nixpkgs/issues/89769
export LD_LIBRARY_PATH=${lib.makeLibraryPath [ncurses5]}:$LD_LIBRARY_PATH
Expand Down

0 comments on commit 86731c1

Please sign in to comment.