Search code examples
nixnixpkgs

How to install printenv from Nixpkgs?


On Linux, I can use printenv to print shell environment variables.

However, when I search on Nix binary cache for printenv I get No packages found.

Is there a way to get that package via Nixpks?


Solution

  • printenv will be available if you install coreutils from Nixpkgs.