aboutsummaryrefslogtreecommitdiff
path: root/tools/compression-gzip.nix
blob: 50fca9eb6a56d62c7e01575d5f5761c7c5257002 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
{bionix}:

with bionix;

input:

stage {
  name = "gzip";
  buildInputs = with pkgs; [ gzip ];
  buildCommand = "gzip < ${input} > $out";
  passthru.filetype = filetype.gzip input.filetype;
}