Commit Graph

11 Commits

Author SHA1 Message Date
K900
350fa79f10
Revert "nixos-option: fix self inclusive src" 2024-04-30 10:52:25 +03:00
Felix Buehler
7a2b306001 nixos-option: fix self inclusive src 2024-04-28 23:28:46 +02:00
Jade Lovelace
a07dd748d9 nixos-option: update to nix 2.18
This utility has horrendous code quality, partially due to nix's fault,
and really desperately needs to be rewritten, hopefully to not use the
nix C++ API. Either use the Python bindings to the Nix C API when the
Nix team merges the C API, or just write a clever bit of Nix script to
extract the data from a config, turn it into json, then process it into
good output in a CLI wrapper.

It currently does not support flakes and has many other issues.
(in my testing it did not accept -I nixos-path, it exploded due to
having plugins in /etc/nix/nix.conf with no way to override that, among
other breakage that simply does not exist in the Nix CLI).
2024-03-05 09:14:43 -08:00
Sandro Jäckel
c03feb2a7e
nixos-option: set meta.mainProgram 2024-01-03 23:42:56 +01:00
Doron Behar
9d0bb6e67a nixos-option: Include manual page in the package 2023-08-12 12:57:16 +03:00
Emily
775f683a5a nixos-option: fix expression position calculation
This was causing null pointer dereferences. Pattern copied from Nix
source code.
2023-07-13 23:00:19 +01:00
Emily
7959a16c19 nixos-option: use C++20
Nix uses `-std=c++2a` and the header files require C++20 features. LLVM
is more strict about this, so the build was failing there.
2023-07-13 08:25:28 +10:00
Sandro Jäckel
38e917e4bf
nixos-option: update to nix 2.15
Co-authored-by: tropf <29873239+tropf@users.noreply.github.com>
2023-07-11 17:13:21 +02: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
zowoq
8f18af2629 nixos-option: set platforms.all
only built on linux currently but it is used on non-linux platforms e.g. darwin with home-manager
2021-08-07 14:46:23 +10:00
Robert Helgesson
ce6f17f953
nixos-option: init at <unversioned> 2021-07-09 08:59:12 +02:00