Skip to content

modular-services: merge process.argv from executable and args#424881

Merged
roberth merged 2 commits intomodular-servicesfrom
unknown repository
Jul 19, 2025
Merged

modular-services: merge process.argv from executable and args#424881
roberth merged 2 commits intomodular-servicesfrom
unknown repository

Conversation

@ghost
Copy link

@ghost ghost commented Jul 13, 2025

This is an implementation of the change proposed at #372170 (comment)

Ping @roberth

@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/` 8.has: documentation This PR adds or changes documentation labels Jul 13, 2025
@nixpkgs-ci nixpkgs-ci bot added the 12.first-time contribution This PR is the author's first one; please be gentle! label Jul 13, 2025
Copy link
Member

Choose a reason for hiding this comment

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

I don't think I should have used programOrStr for anything but the executable. It overloads string coercion and that's surprising. (my fault)

This comment was marked as abuse.

Copy link
Member

@roberth roberth left a comment

Choose a reason for hiding this comment

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

Awesome, thank you!

@roberth
Copy link
Member

roberth commented Jul 19, 2025

This will merge into a feature branch.
Bypassing CI.
Next steps:

  1. rebase modular-services
  2. make modular-services mergeable

@roberth roberth merged this pull request into NixOS:modular-services Jul 19, 2025
22 of 27 checks passed
@nixpkgs-ci nixpkgs-ci bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Jul 19, 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: documentation This PR adds or changes documentation 8.has: module (update) This PR changes an existing module in `nixos/` 12.approvals: 1 This PR was reviewed and approved by one person. 12.first-time contribution This PR is the author's first one; please be gentle!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant