diff --git a/pasteurize.nix b/pasteurize.nix index cd02155..8a81d28 100644 --- a/pasteurize.nix +++ b/pasteurize.nix @@ -64,7 +64,10 @@ check = x: (l.isAttrs x) && (l.hasAttr "path" x); }; description = "divnix/hive requires you to set the nixpkgs instance via 'config.bee.pkgs = inputs.nixos-22.05.legacyPackages;'"; - apply = x: x.${config.bee.system}; + apply = x: + if (l.hasAttr "${config.bee.system}" x) + then x.${config.bee.system} + else x; }; }; };