1
0
Fork 0
mirror of https://github.com/NixOS/nix-pills synced 2024-09-19 04:00:13 -04:00
nix-pills/release.nix
Jan Tojnar 49c3ae8720 build: Add EPUB support
You can get it by running `nix-build release.nix -A epub`
2022-09-01 09:58:13 +02:00

26 lines
563 B
Nix

{ nix-pills ? { outPath = ./.; revCount = 1234; shortRev = "abcdef"; }
, nixpkgs ? { outPath = <nixpkgs>; revCount = 1234; shortRev = "abcdef"; }
, officialRelease ? false
}:
let
pkgs = import <nixpkgs> { };
pills = import ./default.nix {
inherit pkgs;
inherit (nix-pills) revCount shortRev;
};
in rec {
inherit (pills) html-split epub;
release = pkgs.releaseTools.aggregate
{ name = "nix-pills-release";
constituents =
[
html-split
epub
];
meta.description = "All build outputs";
};
}