mirror of
https://github.com/NixOS/nix
synced 2025-06-25 06:31:14 +02:00
Set the User-Agent header to "Nix/<version>"
This commit is contained in:
parent
b74d92755d
commit
d287b62b64
2 changed files with 3 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
|||
package Nix::Config;
|
||||
|
||||
$version = "@version@";
|
||||
|
||||
$binDir = $ENV{"NIX_BIN_DIR"} || "@bindir@";
|
||||
$libexecDir = $ENV{"NIX_LIBEXEC_DIR"} || "@libexecdir@";
|
||||
$stateDir = $ENV{"NIX_STATE_DIR"} || "@localstatedir@/nix";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue