Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nixos/zipline: init module #370878

Merged
merged 3 commits into from
Jan 13, 2025
Merged

nixos/zipline: init module #370878

merged 3 commits into from
Jan 13, 2025

Conversation

Defelo
Copy link
Member

@Defelo Defelo commented Jan 4, 2025

Closes #354786

A ShareX/file upload server that is easy to use, packed with features, and with an easy setup

https://zipline.diced.sh/
https://github.com/diced/zipline

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 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: module (update) This PR changes an existing module in `nixos/` 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 1-10 labels Jan 4, 2025
@github-actions github-actions bot added 8.has: documentation This PR adds or changes documentation 8.has: changelog labels Jan 4, 2025
@Defelo Defelo marked this pull request as ready for review January 4, 2025 17:12
@Defelo

This comment was marked as outdated.

@ixhbinphoenix
Copy link

ixhbinphoenix commented Jan 4, 2025

Tested the module on my server, works perfectly fine! No issues with it

@Defelo
Copy link
Member Author

Defelo commented Jan 8, 2025

updated to v3.7.11

@Defelo
Copy link
Member Author

Defelo commented Jan 8, 2025

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 370878


x86_64-linux

⏩ 2 packages blacklisted:
  • nixos-install-tools
  • tests.nixos-functions.nixos-test
✅ 1 package built:
  • zipline

aarch64-linux

⏩ 2 packages blacklisted:
  • nixos-install-tools
  • tests.nixos-functions.nixos-test
✅ 1 package built:
  • zipline

YARN_ENABLE_TELEMETRY = "0";

FFMPEG_BIN = lib.getExe ffmpeg;
PRISMA_SCHEMA_ENGINE_BINARY = lib.getExe' prisma-engines "schema-engine";
Copy link
Member

Choose a reason for hiding this comment

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

Would be cool if we could dedupe those with the ones below somehow

Copy link
Member Author

Choose a reason for hiding this comment

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

I moved them into an environment attrset which is used in both the configure phase and the wrapper script. Regarding your other review comment, escaping these values is probably not necessary right now, however in the future one might need to add more environment variables, so I figured it would be a good idea to add the escaping now, so we don't have to rely on environment to only contain already escaped values.

@SuperSandro2000 SuperSandro2000 merged commit a3feb24 into NixOS:master Jan 13, 2025
25 of 28 checks passed
@Defelo Defelo deleted the zipline branch January 13, 2025 18:40
@h7x4 h7x4 added 8.has: module (new) This PR adds a module in `nixos/` 8.has: tests This PR has tests labels Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: changelog 8.has: documentation This PR adds or changes documentation 8.has: module (new) This PR adds a module in `nixos/` 8.has: module (update) This PR changes an existing module in `nixos/` 8.has: tests This PR has tests 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 1-10
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Package request: Zipline
4 participants