Commit Graph

15 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
Artturin
47ace7b0af pkgs/tools/nix: enable strictDeps
`fd "\.nix" pkgs/tools/nix | xargs rg "strictDeps" --files-without-match | xargs rg "buildRust|buildGo|buildPyt|buildNim" --files-without-match | xargs vim -p`

checked with Artturin/diffing
2023-03-07 18:13:44 +02:00
Felix Buehler
bc3d5934d7 treewide: use lib.optionals 2023-02-14 19:11:59 +01:00
Nick Cao
a74f695255
Merge pull request #210864 from peng1999/nix-info-patch
nix-info: fix error when no channel installed
2023-01-31 18:10:55 +08:00
Peng Guanwen
ffe9031129
Use buitins.currentSystem 2023-01-31 17:56:23 +08:00
Guillaume Girol
33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00: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
Jan Malakhovski
ff4b82c966 nix-info: use checkInputs 2018-08-11 09:35:26 +00:00
Daiderd Jordan
aa32796a89
nix-info: build locally 2018-01-21 14:09:35 +01:00
Anthony Cowley
2e001620d5 nix-info: apply SC1117 suggested fix 2017-12-19 13:05:49 -05:00
Tuomas Tynkkynen
e866bb421a nix-info: Disable doCheck by default
ShellCheck depends on GHC which is quite a large package to have in the
build-time closure of all NixOS systems.
2017-10-17 18:26:08 +03:00
Franz Pletz
9805818d24
nix-info: fix nixpkgs tarball evaluation
error: while evaluating the attribute ‘darwin-tested’ at /build/git-export/lib/attrsets.nix:199:44:
[..]
while evaluating the attribute ‘nix-info.x86_64-darwin’ at /build/git-export/lib/attrsets.nix:199:44:
attribute ‘x86_64-darwin’ missing, at /build/git-export/pkgs/top-level/release.nix:50:15
2017-10-17 09:59:38 +02:00
Graham Christensen
d9d2c4a4a9
nix-info: init 2017-10-14 22:01:23 -04:00