1
1
mirror of https://github.com/ryantm/agenix.git synced 2024-08-15 17:10:42 +03:00

Merge pull request #156 from mputz86/main

Make isDarwin check more robust
This commit is contained in:
Ryan Mulligan 2023-02-20 06:45:27 -08:00 committed by GitHub
commit 53da86e976
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 =