docker-nixpkgs/images/cachix/default.nix
Andika Demas Riyandi 415031b849
Adding gnugrep to cachix (#14)
I have seen in `install-cachix-actions` that you use gnugrep. While we cannot do `nix-env -iA nixpkgs.gnugrep` inside the image, I prefer to put gnugrep by default in `cachix` image.
2021-02-10 09:24:37 +01:00

12 lines
225 B
Nix

{ docker-nixpkgs
, cachix
, nix
}:
(docker-nixpkgs.nix.override {
nix = nix;
extraContents = [ cachix gnugrep ];
}).overrideAttrs (prev: {
meta = (prev.meta or {}) // {
description = "Nix and Cachix image";
};
})