Skip to content

citrix-workspace: 24.5.0.76 -> 24.8.0.98#360106

Merged
symphorien merged 2 commits into
NixOS:masterfrom
flacks:citrix-workspace
Dec 2, 2024
Merged

citrix-workspace: 24.5.0.76 -> 24.8.0.98#360106
symphorien merged 2 commits into
NixOS:masterfrom
flacks:citrix-workspace

Conversation

@flacks

@flacks flacks commented Nov 29, 2024

Copy link
Copy Markdown
Contributor

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@github-actions github-actions Bot added the 8.has: maintainer-list (update) This PR changes `maintainers/maintainer-list.nix` label Nov 29, 2024
@NixOSInfra NixOSInfra added the 12.first-time contribution This PR is the author's first one; please be gentle! label Nov 29, 2024
@flacks flacks changed the title citrix_workspace: 24.5.0.76 -> 24.8.0.98 citrix-workspace: 24.5.0.76 -> 24.8.0.98 Nov 29, 2024
@ofborg ofborg Bot added 8.has: package (new) This PR adds a new package 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Nov 30, 2024

@SigmaSquadron SigmaSquadron left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Welcome to Nixpkgs; thanks for adopting this package!

Looks good to me overall, but I didn't understand why have the || true expression in the installPhase.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I'm understanding this correctly, some of these files no longer exist. Can the wildcard instead be altered so these files aren't passed to rm?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this package supports lots of older versions of Citrix (see sources.nix), I'm not sure if those are present in the older packages, hence the || true. I have not tested anything older than the last 2 releases as of this writing. I'm assuming some enterprises require older versions of Citrix to operate, given how slow businesses are to adopt newer versions sometimes. If those files are present for older Citrix versions, they may fail to launch. What should we do?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My question spawned from my ignorance about how the generic Citrix builder works. This makes sense, and it's fine the way it is.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It took me a good while to understand how this package works/builds. Hopefully it can be cleaned up more in the future :)

@SigmaSquadron SigmaSquadron added the 0.kind: package adoption Requests or PRs for adopting packages that have no maintainers label Dec 2, 2024
Comment thread maintainers/maintainer-list.nix Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please rename the maintainer commit to:
maintainers: add flacks

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Won't this fail with earlier versions that use 407?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sigh, you're right. Maybe we should add fail-safes for both 407 and 410? Using something like || true here too?

@SigmaSquadron SigmaSquadron Dec 2, 2024

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Personally I'd delete this entire package and start anew with supporting just the latest version :)

I too wanted to maintain four different versions of an unmaintained package, but I was lucky enough to have others convince me that's a terrible idea.

If you don't want to do that yet, then || true works.

@flacks flacks Dec 2, 2024

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would like to get this in so I don't have to maintain out-of-tree patches in my local tree for building my local config. I went ahead and did a || true for both 407 and 410 for now, which builds fine locally. You're right that this package should be rewritten with just the latest version in mind... it is a terrible idea and a huge burden to do a take-your-pick for package versions. It doesn't even seem like Citrix has links to the older versions available for download (https://www.citrix.com/downloads/workspace-app/linux/) ... I will take up rewriting it some weekend in the near future :)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just looked at those Xen changes, my condolences. Can we maybe change every supported version for this package to have a different crying emoji appended to all of the binaries and desktop file?

@SigmaSquadron SigmaSquadron left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Remember that as the maintainer, you can always decide to nuke this package and support only the versions you actually use.

@SigmaSquadron SigmaSquadron added the 12.approvals: 1 This PR was reviewed and approved by one person. label Dec 2, 2024
@flacks

flacks commented Dec 2, 2024

Copy link
Copy Markdown
Contributor Author

Roger, thank you very much. Also, can I reformat everything using nixfmt-rfc-style? I saw that a tree-wide reformatting is coming soon, and I believe it's with the RFC style formatter?

@SigmaSquadron

Copy link
Copy Markdown
Contributor

Feel free to do so in a separate commit, but as you stated, a treewide will take care of it for you.

@symphorien symphorien merged commit 108b6b7 into NixOS:master Dec 2, 2024
@flacks

flacks commented Dec 2, 2024

Copy link
Copy Markdown
Contributor Author

Ok. Will just format when I get around to the rewrite then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

0.kind: package adoption Requests or PRs for adopting packages that have no maintainers 8.has: maintainer-list (update) This PR changes `maintainers/maintainer-list.nix` 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 12.approvals: 1 This PR was reviewed and approved by one person. 12.first-time contribution This PR is the author's first one; please be gentle!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants