mirror of
https://github.com/nix-community/nixpkgs-update.git
synced 2024-11-25 09:34:13 +03:00
Merge pull request #283 from Kranzes/patch-1
flake.nix: Add nixpkgs-update cachix as an extra substituter to the
This commit is contained in:
commit
c1dfdadb57
@ -6,6 +6,9 @@
|
||||
inputs.nixpkgs = { type = "github"; owner = "nixos"; repo = "nixpkgs"; };
|
||||
inputs.mmdoc.url = "github:ryantm/mmdoc";
|
||||
|
||||
nixConfig.extra-substituters = [ "https://nixpkgs-update.cachix.org" ];
|
||||
nixConfig.extra-trusted-public-keys = [ "nixpkgs-update.cachix.org-1:6y6Z2JdoL3APdu6/+Iy8eZX2ajf09e4EE9SnxSML1W8=" ];
|
||||
|
||||
outputs = { self, flake-compat, nixpkgs, nixpkgs-review, mmdoc } @ args:
|
||||
{
|
||||
packages."x86_64-linux" = import ./pkgs/default.nix (args // { system = "x86_64-linux"; });
|
||||
@ -15,6 +18,5 @@
|
||||
packages."x86_64-darwin" = import ./pkgs/default.nix (args // { system = "x86_64-darwin"; });
|
||||
defaultPackage."x86_64-darwin" = self.packages."x86_64-darwin".nixpkgs-update;
|
||||
devShell."x86_64-darwin" = self.packages."x86_64-darwin".devShell;
|
||||
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user