diff options
Diffstat (limited to 'nix/packages.nix')
| -rw-r--r-- | nix/packages.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/nix/packages.nix b/nix/packages.nix new file mode 100644 index 0000000..4e1ab27 --- /dev/null +++ b/nix/packages.nix @@ -0,0 +1,28 @@ +{ + self, + inputs, + ... +}: { + perSystem = { + pkgs, + system, + config, + ... + }: { + packages = { + teawiebot = pkgs.callPackage ./derivation.nix { + inherit self; + inherit + (pkgs.darwin.apple_sdk.frameworks) + CoreFoundation + Security + SystemConfiguration + ; + + naersk = inputs.naersk.lib.${system}; + }; + + default = config.packages.teawiebot; + }; + }; +} |
