Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

have the generated derivation name suffixed with-config #226

Open
teto opened this issue Aug 26, 2024 · 0 comments
Open

have the generated derivation name suffixed with-config #226

teto opened this issue Aug 26, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@teto
Copy link
Contributor

teto commented Aug 26, 2024

Is your feature request related to a problem? Please describe.

For debugging purposes, I like to check wether I am running the native program or the generated nix wrapper. For instance with readlink -f $(which treefmt). Which returns here sthg like:
/nix/store/qaf912xd414y05y7ay9j9lxf89l4asa7-treefmt/bin/treefmt

Describe the solution you'd like
I think the derivation name should contain more information:

  1. the version of treefmt
  2. a --with-config suffix to know we are dealing with a wrapper. So /nix/store/qaf912xd414y05y7ay9j9lxf89l4asa7-treefmt-0.0.2-with-config/bin/treefmt

Describe alternatives you've considered

Additional context

@teto teto added the enhancement New feature or request label Aug 26, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant