
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.
12 lines
225 B
Nix
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";
|
|
};
|
|
})
|