nix-update/flake.nix

14 lines
410 B
Nix
Raw Normal View History

2020-08-17 10:41:53 +03:00
{
description = "Swiss-knife for updating nix packages.";
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;
});
}