mirror of
https://github.com/ryantm/agenix.git
synced 2024-11-22 09:40:47 +03:00
Merge pull request #156 from mputz86/main
Make isDarwin check more robust
This commit is contained in:
commit
53da86e976
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@
|
|||
with lib; let
|
||||
cfg = config.age;
|
||||
|
||||
isDarwin = builtins.hasAttr "darwinConfig" options.environment;
|
||||
isDarwin = lib.attrsets.hasAttrByPath ["environment" "darwinConfig"] options;
|
||||
|
||||
# we need at least rage 0.5.0 to support ssh keys
|
||||
rage =
|
||||
|
|
Loading…
Reference in a new issue