aboutsummaryrefslogtreecommitdiff
path: root/tools/compression-gzip.nix
blob: 0229b9433d8c52a5c1c210c89535b8ce11210da7 (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;
}