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

packaging: A few small improvements #12539

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

roberth
Copy link
Member

@roberth roberth commented Feb 20, 2025

These are some small improvements gathered while working on Nixpkgs packaging, NixOS/nixpkgs#383508. They're low hanging fruit, while the Nixpkgs packaging is still in flux (e.g. filesets aren't appreciated, nor is the everything.nix multi-derivation package)

This makes the files more readily transferable.

Motivation

Context


Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.

These are some small improvements gathered while working on
Nixpkgs packaging, NixOS/nixpkgs#383508.
They're low hanging fruit, while the Nixpkgs packaging is
still in flux (e.g. filesets aren't appreciated, nor is the
everything.nix multi-derivation package)

This makes the files more readily transferable.
@roberth roberth requested a review from edolstra as a code owner February 20, 2025 18:27
@roberth roberth added the backport 2.26-maintenance Automatically creates a PR against the branch label Feb 20, 2025
@@ -79,7 +80,7 @@ mkMesonExecutable (finalAttrs: {
mkdir -p "$HOME"
''
+ ''
export _NIX_TEST_UNIT_DATA=${data + "/src/libstore-tests/data"}
export _NIX_TEST_UNIT_DATA=${resolvePath ./data/src/libstore-tests/data}
Copy link
Member Author

Choose a reason for hiding this comment

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

This worked in Nixpkgs, but not here. Might need a more explicit conditional, since we don't have the "source layer" to do the work for us in this case.

Copy link
Member Author

Choose a reason for hiding this comment

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

Or expose the "source layer" logic (or similar) as an independent function.

@roberth roberth marked this pull request as draft February 20, 2025 18:33
@roberth roberth self-assigned this Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.26-maintenance Automatically creates a PR against the branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant