nixos/grafana-agent: fix shellcheck #391910
Labels
0.kind: bug
Something is broken
6.topic: nixos
Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS
Nixpkgs version
Describe the bug
with
systemd.enableStrictShellChecks = true;
I geteasy enough fix, but the comment above I'm not sure is true (any longer?):
systemd.unit(5)
states that%H
is the host name and%l
is the short name (truncated to first dot to remove any domain component`)So I'm opening the issue to solicit feedback on which way this should go and any glean any further context available.
Steps to reproduce
enable systemd.enableStrictShellChecks
Expected behaviour
enableStrictShellChecks should work
Screenshots
No response
Relevant log output
Additional context
No response
System metadata
this path will be fetched (0.02 MiB download, 0.06 MiB unpacked):
/nix/store/md93ycspqdq3arrv9ms0m4c33jssizgg-stdenv-linux
copying path '/nix/store/md93ycspqdq3arrv9ms0m4c33jssizgg-stdenv-linux' from 'https://cache.nixos.org'...
"x86_64-linux"
Linux 5.15.167.4-microsoft-standard-WSL2, NixOS, 25.05 (Warbler), 25.05.20250319.a84ebe2
yes
yes
nix-env (Nix) 2.24.12
/nix/store/1728d3jg85mkz2w2cvk6vi74i30fn6x7-source
Notify maintainers
@flokli
@zimbatm
Note for maintainers: Please tag this issue in your pull request description. (i.e.
Resolves #ISSUE
.)I assert that this issue is relevant for Nixpkgs
Is this issue important to you?
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: