Commit Graph

7 Commits

Author SHA1 Message Date
Alexander Schmolck
eb811a6ee0 nix-info: fix nix-info --help to exit 0
Previously, --help and -h were treated like an invalid argument.
2023-04-30 13:04:09 +01:00
Peng Guanwen
ffe9031129 Use buitins.currentSystem 2023-01-31 17:56:23 +08:00
Peng Guanwen
8bda2c3acc nix-info: fix error when no channel installed
The nix-info script fails when user only use flake.
This patch use the new nix CLI when old fails.
2023-01-15 09:28:20 +00:00
1000101
e97d588423 nix-info: add BUILD_ID information 2022-03-17 13:16:35 +01:00
zowoq
899f2d8b7f nix-info: use stdenv.hostPlatform.system
`pkgs.system` is an alias since 4246d6ce21.
2021-11-14 11:11:15 +10:00
Anthony Cowley
2e001620d5 nix-info: apply SC1117 suggested fix 2017-12-19 13:05:49 -05:00
Graham Christensen
d9d2c4a4a9 nix-info: init 2017-10-14 22:01:23 -04:00