[Nix#9315] $XDG_DATA_DIRS should be tested #104

Open
opened 2024-03-16 06:44:55 +00:00 by lix-bot · 0 comments
Member

Upstream-Issue: NixOS/nix#9315

Additional information

In https://github.com/NixOS/nix/pull/9312#issuecomment-1797026598 we discussed adding a test for $XDG_DATA_DIRS being set. There was a bug in https://github.com/NixOS/nix/pull/8985 originally, and this is a good indicator that the code is worth testing.

It's likely a test can be inserted around here:

fe62cb79a6/tests/installer/default.nix (L210-L219)

It would be handy if this tested that the existing OS default was preserved as well.

Priorities

Add 👍 to issues you find important.

Upstream-Issue: https://git.lix.systems/NixOS/nix/issues/9315 ## Additional information In https://github.com/NixOS/nix/pull/9312#issuecomment-1797026598 we discussed adding a test for `$XDG_DATA_DIRS` being set. There was a bug in https://github.com/NixOS/nix/pull/8985 originally, and this is a good indicator that the code is worth testing. It's likely a test can be inserted around here: https://github.com/NixOS/nix/blob/fe62cb79a62daa427968e6503e265d7925b519d5/tests/installer/default.nix#L210-L219 It would be handy if this tested that the existing OS default was preserved as well. ## Priorities Add :+1: to [issues you find important](https://github.com/NixOS/nix/issues?q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc).
lix-bot added the
stability
imported
labels 2024-03-16 06:44:55 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lix-project/lix#104
No description provided.