mirror of
https://github.com/nix-community/nixpkgs-update.git
synced 2024-11-22 21:52:15 +03:00
20 lines
820 B
Nix
20 lines
820 B
Nix
{
|
|
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;
|
|
};
|
|
}
|