Citrix Workspace problems

Hello there everybody!

So, I’ve been using Citrix Workspace for work on Nixos for some time, but I’m unable to update it (or even reinstall it) since the last update.

I know I have to use nix-prefetch-url, and so I did. I tried both using home-manager and configuration.nix to install the citrix_workspace application to no avail.

This is the output I receive after running home-manager switch or nixos-rebuild switch:

Summary

building the system configuration…
error: builder for ‘/nix/store/6x59bjd5b7wjrpy7iihapky7pcnj0m13-citrix-workspace-23.11.0.82.drv’ failed with exit code 1;
last 10 log lines:
> auto-patchelf: 6 dependencies could not be satisfied
> error: auto-patchelf could not satisfy dependency libopencv_core.so.407 wanted by /nix/store/99llzl5cqj861syz4nrpsgwc6rzna2vc-citrix-workspace-23.11.0.82/opt/citrix-icaclient/lib/libbgblur.so
> error: auto-patchelf could not satisfy dependency libopencv_imgcodecs.so.407 wanted by /nix/store/99llzl5cqj861syz4nrpsgwc6rzna2vc-citrix-workspace-23.11.0.82/opt/citrix-icaclient/lib/libbgblur.so
> error: auto-patchelf could not satisfy dependency libopencv_imgproc.so.407 wanted by /nix/store/99llzl5cqj861syz4nrpsgwc6rzna2vc-citrix-workspace-23.11.0.82/opt/citrix-icaclient/lib/libbgblur.so
> error: auto-patchelf could not satisfy dependency libopencv_imgproc.so.407 wanted by /nix/store/99llzl5cqj861syz4nrpsgwc6rzna2vc-citrix-workspace-23.11.0.82/opt/citrix-icaclient/lib/third_party/libopencv_imgcodecs.so.4.7.0
> error: auto-patchelf could not satisfy dependency libopencv_core.so.407 wanted by /nix/store/99llzl5cqj861syz4nrpsgwc6rzna2vc-citrix-workspace-23.11.0.82/opt/citrix-icaclient/lib/third_party/libopencv_imgcodecs.so.4.7.0
> error: auto-patchelf could not satisfy dependency libopencv_core.so.407 wanted by /nix/store/99llzl5cqj861syz4nrpsgwc6rzna2vc-citrix-workspace-23.11.0.82/opt/citrix-icaclient/lib/third_party/libopencv_imgproc.so.4.7.0
> auto-patchelf failed to find all the required dependencies.
> Add the missing dependencies to --libs or use --ignore-missing="foo.so.1 bar.so etc.so".
> /nix/store/3qnm3nwjajgqa771dmi2dnwxrw0kzq5m-stdenv-linux/setup: line 131: pop_var_context: head of shell_variables not a function context
For full logs, run ‘nix log /nix/store/6x59bjd5b7wjrpy7iihapky7pcnj0m13-citrix-workspace-23.11.0.82.drv’.
error: 1 dependencies of derivation ‘/nix/store/a4c3clpikjpb9mn4jjx44qcsc305qv4n-system-path.drv’ failed to build
error: 1 dependencies of derivation ‘/nix/store/mfcg3m7a86xl2l17l27dlrczm2g6kj2y-nixos-system-darkstar-24.05.20240306.9df3e30.drv’ failed to build

This is the output of the full nix log /nix/store/xxxxxx-citrix-workspace command:

Summary

warning: The interpretation of store paths arguments ending in .drv recently changed. If this command is now failing try again with ‘/nix/store/6x59bjd5b7wjrpy7iihapky7pcnj0m13-citrix-workspace-23.11.0.82.drv^*’
@nix { “action”: “setPhase”, “phase”: “unpackPhase” }
Running phase: unpackPhase
unpacking source archive /nix/store/nzs5252n3rk1x2r7s200chw4dcg615hk-linuxx64-23.11.0.82.tar.gz
source root is .
setting SOURCE_DATE_EPOCH to timestamp 1702443269 of file ./linuxx64/linuxx64.psf
@nix { “action”: “setPhase”, “phase”: “patchPhase” }
Running phase: patchPhase
@nix { “action”: “setPhase”, “phase”: “updateAutotoolsGnuConfigScriptsPhase” }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { “action”: “setPhase”, “phase”: “glibPreInstallPhase” }
Running phase: glibPreInstallPhase
@nix { “action”: “setPhase”, “phase”: “glibPreInstallPhase” }
Running phase: glibPreInstallPhase
@nix { “action”: “setPhase”, “phase”: “glibPreInstallPhase” }
Running phase: glibPreInstallPhase
@nix { “action”: “setPhase”, “phase”: “installPhase” }
Running phase: installPhase
Citrix Workspace app for Linux 23.11.0.82 setup.

Copyright 1996-2023 Citrix Systems, Inc. All rights reserved.\nCopyright (c) 1986-1997 RSA Security, Inc. All rights reserved.\n\nCitrix, Independent Computing Architecture (ICA), Program Neighborhood,\nMetaFrame, and MetaFrame XP are >

User install mode.
\nSelect a setup option:\n\n 1. Install Citrix Workspace app for Linux 23.11.0.82\n 2. Remove Citrix Workspace app for Linux 23.11.0.82\n 3. Quit Citrix Workspace app for Linux 23.11.0.82 setup\n
Enter option number 1-3 [1]: \nPlease enter the directory in which Citrix Workspace app for Linux is to be installed.\n[default -i /nix/store/99llzl5cqj861syz4nrpsgwc6rzna2vc-citrix-workspace-23.11.0.82/opt/citrix-icaclient] \nor type >
\nThis is not the default location. You must set environment variable\nICAROOT to this location after installation has completed, for example:\n\nexport ICAROOT=-i "/nix/store/99llzl5cqj861syz4nrpsgwc6rzna2vc-citrix-workspace-23.11.0.8>
\nProceed with installation? [default nWARNING: One of the prerequisites required for installation is not present- “libwebkit2gtk-4.0.so.37” not found. Citrix Workspace app (Self Service) may not work.\nDo you want to proceed with the >
Installation proceeding…
\nChecking available disk space …
\n\tDisk space available 55267400 K \n\tDisk space required 959630 K
\n\nContinuing …
Creating directory -i /nix/store/99llzl5cqj861syz4nrpsgwc6rzna2vc-citrix-workspace-23.11.0.82/opt/citrix-icaclient
Core package…
Setting file permissions…
cp: cannot create regular file ‘/nix/store/99llzl5cqj861syz4nrpsgwc6rzna2vc-citrix-workspace-23.11.0.82/opt/citrix-icaclient/ceb/CtxChromiumBrowser/thread_type.mojom.m.js’: Permission denied
cp: cannot create regular file ‘/nix/store/99llzl5cqj861syz4nrpsgwc6rzna2vc-citrix-workspace-23.11.0.82/opt/citrix-icaclient/bcr/libEGL.so’: Permission denied
cp: cannot create regular file ‘/nix/store/99llzl5cqj861syz4nrpsgwc6rzna2vc-citrix-workspace-23.11.0.82/opt/citrix-icaclient/bcr/libGLESv2.so’: Permission denied
Failed to connect to bus: No medium found
Created symlink /build/tmp.rM2EJwFvo2/.config/systemd/user/default.target.wants/ctxcwalogd.service → /build/tmp.rM2EJwFvo2/.config/systemd/user/ctxcwalogd.service.
Unit /build/tmp.rM2EJwFvo2/.config/systemd/user/ctxcwalogd.service is added as a dependency to a non-existent unit default.target.
Failed to connect to bus: No medium found
Integrating with browsers…
\nIntegration complete.
No GStreamer directories were found, skipping GStreamer integration.
linuxx64/hinst: line 1473: killall: command not found
linuxx64/hinst: line 1490: getent: command not found
You must have root privileges to install the app protection component.
linuxx64/hinst: line 1361: getent: command not found
linuxx64/hinst: line 1430: getent: command not found
linuxx64/hinst: line 1376: getent: command not found
USB support cannot be installed by non-root users. Run the installer as root to access this install option.
\nSelect a setup option:\n\n 1. Install Citrix Workspace app for Linux 23.11.0.82\n 2. Remove Citrix Workspace app for Linux 23.11.0.82\n 3. Quit Citrix Workspace app for Linux 23.11.0.82 setup\n
Enter option number 1-3 [3]: Quitting Citrix Workspace app for Linux 23.11.0.82 setup.
Expanding certificates…
/nix/store/99llzl5cqj861syz4nrpsgwc6rzna2vc-citrix-workspace-23.11.0.82/opt/citrix-icaclient/keystore/cacerts /build
/build
rm: cannot remove ‘/nix/store/99llzl5cqj861syz4nrpsgwc6rzna2vc-citrix-workspace-23.11.0.82/opt/citrix-icaclient/lib/ctxjpeg_fb_8.so’: No such file or directory
We arbitrarily set the timezone to UTC. No known consequences at this point.
Copy .desktop files.
@nix { “action”: “setPhase”, “phase”: “glibPreFixupPhase” }
Running phase: glibPreFixupPhase
@nix { “action”: “setPhase”, “phase”: “glibPreFixupPhase” }
Running phase: glibPreFixupPhase
@nix { “action”: “setPhase”, “phase”: “glibPreFixupPhase” }
lines 1-63

I hope I formatted the text correctly. Do you have any idea about what the problem may be? Many thanks in advance

Oops, totally didn’t notice that before, sorry