nixpkgs-update/flake.nix

20 lines
820 B
Nix
Raw Normal View History

2020-06-10 07:30:48 +03:00
{
2023-01-02 02:29:41 +03:00
description = "update nixpkgs automatically";
2020-06-10 07:30:48 +03:00
2021-08-25 06:23:54 +03:00
inputs.mmdoc.url = "github:ryantm/mmdoc";
inputs.mmdoc.inputs.nixpkgs.follows = "nixpkgs";
2020-06-10 07:30:48 +03:00
2023-01-02 02:29:41 +03:00
nixConfig.extra-substituters = "https://nixpkgs-update.cachix.org";
nixConfig.extra-trusted-public-keys = "nixpkgs-update.cachix.org-1:6y6Z2JdoL3APdu6/+Iy8eZX2ajf09e4EE9SnxSML1W8=";
2023-01-02 02:29:41 +03:00
outputs = { self, nixpkgs, mmdoc } @ args:
2021-08-25 06:23:54 +03:00
{
2023-01-02 02:29:41 +03:00
packages.x86_64-linux = import ./pkgs/default.nix (args // { system = "x86_64-linux"; });
2023-01-02 02:48:22 +03:00
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;
2021-08-25 06:23:54 +03:00
};
2020-06-10 07:30:48 +03:00
}