nix-update/flake.nix
2020-12-01 10:31:29 +01:00

14 lines
410 B
Nix

{
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: {
packages.nix-update = nixpkgs.legacyPackages.${system}.callPackage self {
src = self;
};
defaultPackage = self.packages.${system}.nix-update;
});
}