Skip to content

packaging: A few small improvements#12539

Draft
roberth wants to merge 1 commit intoNixOS:masterfrom
roberth:sync-nixpkgs
Draft

packaging: A few small improvements#12539
roberth wants to merge 1 commit intoNixOS:masterfrom
roberth:sync-nixpkgs

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.
''
+ ''
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
@roberth
Copy link
Member Author

roberth commented Apr 5, 2025

Obsolete + keeping Nixpkgs files exactly in sync is not a goal anymore.

@Ericson2314
Copy link
Member

Well, long term I hope we can go back to keeping in sync, but yes, it will be a while.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants