2020-08-17 10:41:53 +03:00
|
|
|
{
|
|
|
|
description = "Swiss-knife for updating nix packages.";
|
|
|
|
|
2022-12-08 00:14:49 +03:00
|
|
|
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
2020-08-17 10:41:53 +03:00
|
|
|
inputs.flake-utils.url = "github:numtide/flake-utils";
|
|
|
|
|
|
|
|
outputs = { self, nixpkgs, flake-utils }:
|
2021-04-04 10:44:54 +03:00
|
|
|
flake-utils.lib.eachDefaultSystem (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;
|
|
|
|
});
|
|
|
|
}
|