nix-update/flake.nix

15 lines
457 B
Nix
Raw Normal View History

2020-08-17 10:41:53 +03:00
{
description = "Swiss-knife for updating nix packages.";
2021-01-09 09:51:27 +03:00
inputs.nixpkgs.url = "github:NixOS/nixpkgs";
2020-08-17 10:41:53 +03:00
inputs.flake-utils.url = "github:numtide/flake-utils";
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachSystem flake-utils.lib.allSystems (system: {
2020-12-01 12:31:29 +03:00
packages.nix-update = nixpkgs.legacyPackages.${system}.callPackage self {
src = self;
};
2020-08-17 10:41:53 +03:00
defaultPackage = self.packages.${system}.nix-update;
});
}