nix-update/flake.nix

20 lines
538 B
Nix
Raw Normal View History

2020-08-17 10:41:53 +03:00
{
description = "Swiss-knife for updating nix packages.";
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: {
2022-12-31 02:31:44 +03:00
formatter = nixpkgs.legacyPackages.${system}.nixpkgs-fmt;
2022-12-30 21:43:02 +03:00
packages = {
default = self.packages.${system}.nix-update;
nix-update = nixpkgs.legacyPackages.${system}.callPackage self {
src = self;
};
2020-12-01 12:31:29 +03:00
};
2020-08-17 10:41:53 +03:00
});
}