discosip/flake.nix

29 lines
622 B
Nix
Raw Normal View History

2022-07-01 19:38:37 +01:00
{
description = "A basic flake from samw";
inputs = {
utils.url = "github:numtide/flake-utils";
devshell.url = "github:numtide/devshell";
};
outputs = {
self,
nixpkgs,
utils,
devshell,
}:
utils.lib.eachDefaultSystem (system: let
pkgs = import nixpkgs {
inherit system;
overlays = [devshell.overlay];
};
in {
devShells.default = pkgs.devshell.mkShell {
packages = with pkgs; [
ffmpeg
(callPackage ./pjsip {inherit (darwin.apple_sdk.frameworks) AppKit;})
];
};
formatter = pkgs.alejandra;
});
}