summaryrefslogtreecommitdiff
path: root/modules/programs
diff options
context:
space:
mode:
authorMark Sisson <5761292+marksisson@users.noreply.github.com>2024-03-02 18:51:25 -0600
committerMark Sisson <5761292+marksisson@users.noreply.github.com>2024-03-02 18:51:25 -0600
commit3397ab3b7736e345e168da0ecade5c96b8a7f042 (patch)
tree9d31d1c1d366af229277784e0159a66b75c439b9 /modules/programs
parent8a15cb36fffa0b5fbe31ef16ede0a479bef4b365 (diff)
feat(nix): adapt nix.conf validation for different Nix versions
This commit updates the nix.conf validation logic to accommodate different versions of Nix. It introduces a conditional assignment of the `showCommand` variable, which determines the appropriate command to use based on the Nix version. For versions at least "2.20pre", it uses "config show"; otherwise, it falls back to "show-config". This change ensures compatibility across various Nix releases.
Diffstat (limited to 'modules/programs')
0 files changed, 0 insertions, 0 deletions