clan-cli: replace run_cmd() with env_for_programs() #1780
No reviewers
Labels
No Label
backups
blog
bootstrapping
bug
changes-requested
cli
documentation
duplicate
enhancement
facts
help wanted
invalid
Inventory
low_prio
manager
modules
needs-review
networking
packaging
question
secrets
template
test
tooling
user-testing
vm
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: clan/clan-core#1780
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "DavHau/clan-core:DavHau-vars"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Instead of wrapping a cmd with nix-shell, env_for_programs() returns an
env
containing the right PATH to be passed to a subprocess.run invocation.programs which are not statically passed via CLAN_STATIC_DEPS, will be retrieved via
nix build
and added to the PATHThere is now also a cache which will prevent programs being evaluated multiple ties during the life cycle of one process
8109177eea
to73b7c407a0
73b7c407a0
tocc2318acdd
Pull request closed