mirror of
https://github.com/Mic92/nix-update.git
synced 2024-11-03 21:04:49 +03:00
14 lines
410 B
Nix
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;
|
|
});
|
|
}
|