Skip to content

Move nix::handleExceptions to libutil#15188

Merged
Ericson2314 merged 1 commit intoNixOS:masterfrom
obsidiansystems:handleexceptions
Feb 10, 2026
Merged

Move nix::handleExceptions to libutil#15188
Ericson2314 merged 1 commit intoNixOS:masterfrom
obsidiansystems:handleexceptions

Conversation

@artemist
Copy link
Member

Motivation

This is a fairly simple function, isolated from the rest of libmain and could be useful if new programs are made that are not part of the main nix-cli subproject.

Context

This makes #15183 a bit easier, but is not closely related to the actual change.


Add 👍 to pull requests you find important.

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

This is a fairly simple function, isolated from the rest of libmain
and could be useful if new programs are made that are not part of the
main nix-cli subproject.
@Ericson2314 Ericson2314 changed the title Move nix::handleExceptions to libutil Move nix::handleExceptions to libutil Feb 10, 2026
@artemist artemist marked this pull request as ready for review February 10, 2026 18:08
@artemist artemist requested a review from edolstra as a code owner February 10, 2026 18:08
@xokdvium
Copy link
Contributor

I think it's particularly useful for libexec-style helpers.

@Ericson2314 Ericson2314 added this pull request to the merge queue Feb 10, 2026
Merged via the queue into NixOS:master with commit 92d0fe0 Feb 10, 2026
20 of 22 checks passed
@Ericson2314 Ericson2314 deleted the handleexceptions branch February 10, 2026 19:41
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