# How to get the Citrix Workspace package to accept the EULA?

**URL:** https://discourse.nixos.org/t/how-to-get-the-citrix-workspace-package-to-accept-the-eula/20187
**Category:** Help
**Created:** [July 7, 2022, 11:17am UTC](https://discourse.nixos.org/t/how-to-get-the-citrix-workspace-package-to-accept-the-eula/20187 "2022-07-07T11:17:08Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![henrydenhengst](https://discourse.nixos.org/user_avatar/discourse.nixos.org/henrydenhengst/32/6817_2.png) [@henrydenhengst](https://discourse.nixos.org/u/henrydenhengst)
#### Post date: [July 7, 2022, 11:17am UTC](https://discourse.nixos.org/t/how-to-get-the-citrix-workspace-package-to-accept-the-eula/20187/1 "2022-07-07T11:17:08Z")

</div>

Name: citrix-workspace  
Version: 21.12.0.18  
Source License: Unfree  
Platform:x86\_64-linux

I asked my question to the dev Philipp Menke, but he is not responding, but maybe one of you is using Citrix Workspace or is willing to try it out and help me.

I am trying to get the package to work, but it keeps erroring out on the eula acceptance.  
How can I accept the eula and install the package properly in my configuration.nix ?

I added the package to my `configuration.nix` and the `allowUnfree` below. What else do I need to do?

```auto
nixpkgs.config.allowUnfree = true;
```

---

<div class="post-metadata">

### Author: ![NobbZ](https://discourse.nixos.org/user_avatar/discourse.nixos.org/nobbz/32/7022_2.png) [@NobbZ](https://discourse.nixos.org/u/NobbZ)
#### Post date: [July 7, 2022, 12:43pm UTC](https://discourse.nixos.org/t/how-to-get-the-citrix-workspace-package-to-accept-the-eula/20187/2 "2022-07-07T12:43:57Z")

</div>

How are you trying to install it?

The setting you mention only has an effect if you try to install it through the system configuration.

If you want to install by any other mean, you have to selectively enable unfree packages there as well, how exactly depends on the way you try to install it.

---

<div class="post-metadata">

### Author: ![henrydenhengst](https://discourse.nixos.org/user_avatar/discourse.nixos.org/henrydenhengst/32/6817_2.png) [@henrydenhengst](https://discourse.nixos.org/u/henrydenhengst)
#### Post date: [July 7, 2022, 3:12pm UTC](https://discourse.nixos.org/t/how-to-get-the-citrix-workspace-package-to-accept-the-eula/20187/3 "2022-07-07T15:12:52Z")

</div>

Yes I install from the configugation.nix

`citrix-workspace`

```auto
nixpkgs.config.allowUnfree = true;
```

---

<div class="post-metadata">

### Author: ![NobbZ](https://discourse.nixos.org/user_avatar/discourse.nixos.org/nobbz/32/7022_2.png) [@NobbZ](https://discourse.nixos.org/u/NobbZ)
#### Post date: [July 7, 2022, 3:24pm UTC](https://discourse.nixos.org/t/how-to-get-the-citrix-workspace-package-to-accept-the-eula/20187/4 "2022-07-07T15:24:30Z")

</div>

How exactly? Are you just adding `citrix-workspace` to the `environment.systemPackages` list?

What is the exact error with that?

---

<div class="post-metadata">

### Author: ![henrydenhengst](https://discourse.nixos.org/user_avatar/discourse.nixos.org/henrydenhengst/32/6817_2.png) [@henrydenhengst](https://discourse.nixos.org/u/henrydenhengst)
#### Post date: [July 7, 2022, 3:27pm UTC](https://discourse.nixos.org/t/how-to-get-the-citrix-workspace-package-to-accept-the-eula/20187/5 "2022-07-07T15:27:06Z")

</div>

I think the package needs to be updated from version 21.12.0.18 to version [22.7.0.20](https://downloads.citrix.com/21035/linuxx64-22.7.0.20.tar.gz) . Otherwise it gets a download error,

```auto
In order to use Citrix Workspace, you need to comply with the Citrix EULA and download
the 64-bit binaries, .tar.gz from:

https://www.citrix.com/downloads/workspace-app/linux/workspace-app-for-linux-latest.html

(if you do not find version 21.12.0.18 there, try at
https://www.citrix.com/downloads/workspace-app/

Once you have downloaded the file, please use the following command and re-run the
installation:

nix-prefetch-url file://$PWD/linuxx64-21.12.0.18.tar.gz

***

error: builder for '/nix/store/gdf93i7qj30qnad8k7zj3hpsipzxl66a-linuxx64-21.12.0.18.tar.gz.drv' failed with exit code 1
error: 1 dependencies of derivation '/nix/store/ga66xxznxxh3qr2fz9h0jg3i47mrzc6r-citrix-workspace-21.12.0.18.drv' failed to build
error: 1 dependencies of derivation '/nix/store/aw9hidadbcxfnlv9i87dnh50kzhhjn7w-system-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/4ylab2zc9bhg84l6yj5qigzr42xb68ym-nixos-system-nixos-22.05.915.9ff91ce2e4c.drv' failed to build

[henry@nixos:~]$ nix-prefetch-url file://$PWD/linuxx64-21.12.0.18.tar.gz
error: unable to download 'file:///home/henry/linuxx64-21.12.0.18.tar.gz': Couldn't read a file:// file (37)
```

---

<div class="post-metadata">

### Author: ![NobbZ](https://discourse.nixos.org/user_avatar/discourse.nixos.org/nobbz/32/7022_2.png) [@NobbZ](https://discourse.nixos.org/u/NobbZ)
#### Post date: [July 7, 2022, 3:38pm UTC](https://discourse.nixos.org/t/how-to-get-the-citrix-workspace-package-to-accept-the-eula/20187/6 "2022-07-07T15:38:11Z")

</div>

There is no download error, there are instructions that tell you where to go and to manually download the file in question and then adding it to the store properly and finally re-run the installation.

Due to their practice of requiring you to confirm the EULA before downloading, this step is necessary.

---

<div class="post-metadata">

### Author: ![henrydenhengst](https://discourse.nixos.org/user_avatar/discourse.nixos.org/henrydenhengst/32/6817_2.png) [@henrydenhengst](https://discourse.nixos.org/u/henrydenhengst)
#### Post date: [July 7, 2022, 3:40pm UTC](https://discourse.nixos.org/t/how-to-get-the-citrix-workspace-package-to-accept-the-eula/20187/7 "2022-07-07T15:40:14Z")

</div>

Indeed that works! Thanks!

Can I insert this procedure into the configuration.nix ?

---

<div class="post-metadata">

### Author: ![NobbZ](https://discourse.nixos.org/user_avatar/discourse.nixos.org/nobbz/32/7022_2.png) [@NobbZ](https://discourse.nixos.org/u/NobbZ)
#### Post date: [July 7, 2022, 6:54pm UTC](https://discourse.nixos.org/t/how-to-get-the-citrix-workspace-package-to-accept-the-eula/20187/8 "2022-07-07T18:54:56Z")

</div>

No, you can’t. If that was possible, it would have been done in the derivation already.

---

<div class="post-metadata">

### Author: ![mars0008](https://discourse.nixos.org/user_avatar/discourse.nixos.org/mars0008/32/11649_2.png) [@mars0008](https://discourse.nixos.org/u/mars0008)
#### Post date: [December 2, 2023, 12:03pm UTC](https://discourse.nixos.org/t/how-to-get-the-citrix-workspace-package-to-accept-the-eula/20187/9 "2023-12-02T12:03:09Z")

</div>

is this not something that can be done declratively? it goes against the nixos principles

---

<div class="post-metadata">

### Author: ![NobbZ](https://discourse.nixos.org/user_avatar/discourse.nixos.org/nobbz/32/7022_2.png) [@NobbZ](https://discourse.nixos.org/u/NobbZ)
#### Post date: [December 2, 2023, 12:06pm UTC](https://discourse.nixos.org/t/how-to-get-the-citrix-workspace-package-to-accept-the-eula/20187/10 "2023-12-02T12:06:27Z")

</div>

You can not “declaratively” open a website, click on “yes I agree on the terms and conditions”, and download from some arbitrary CDN… The download is gated and requires interactivity.

As said already, if it was possible, it had been done.

As it is now, is what is possible.
