mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 07:00:43 +00:00
59c5bfc86b
Also add --all, which shows the value of all options. Diffing the --all output on either side of contemplated changes is a lovely way to better understand what's going on inside nixos.
9 lines
317 B
CMake
9 lines
317 B
CMake
cmake_minimum_required (VERSION 2.6)
|
|
project (nixos-option)
|
|
|
|
add_executable(nixos-option nixos-option.cc libnix-copy-paste.cc)
|
|
target_link_libraries(nixos-option PRIVATE -lnixmain -lnixexpr -lnixstore -lnixutil)
|
|
target_compile_features(nixos-option PRIVATE cxx_std_17)
|
|
|
|
install (TARGETS nixos-option DESTINATION bin)
|