forked from nix-community/nixpkgs-update
-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
19 lines (15 loc) · 820 Bytes
/
flake.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
description = "update nixpkgs automatically";
inputs.mmdoc.url = "github:ryantm/mmdoc";
inputs.mmdoc.inputs.nixpkgs.follows = "nixpkgs";
nixConfig.extra-substituters = "https://nixpkgs-update.cachix.org";
nixConfig.extra-trusted-public-keys = "nixpkgs-update.cachix.org-1:6y6Z2JdoL3APdu6/+Iy8eZX2ajf09e4EE9SnxSML1W8=";
outputs = { self, nixpkgs, mmdoc } @ args:
{
packages.x86_64-linux = import ./pkgs/default.nix (args // { system = "x86_64-linux"; });
devShells.x86_64-linux.default = self.packages."x86_64-linux".devShell;
# nix flake check is broken for these when run on x86_64-linux
# packages.x86_64-darwin = import ./pkgs/default.nix (args // { system = "x86_64-darwin"; });
# devShells.x86_64-darwin.default = self.packages."x86_64-darwin".devShell;
};
}