add cachix
This commit is contained in:
parent
777ae73ea1
commit
ab443863a5
2 changed files with 8 additions and 1 deletions
6
images/cachix/default.nix
Normal file
6
images/cachix/default.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{ docker-nixpkgs
|
||||
, cachix
|
||||
}:
|
||||
docker-nixpkgs.nix.override {
|
||||
extraContents = [ cachix ];
|
||||
}
|
|
@ -9,6 +9,7 @@
|
|||
, iana-etc
|
||||
, nix
|
||||
, xz
|
||||
, extraContents ? []
|
||||
}:
|
||||
let
|
||||
image = dockerTools.buildImageWithNixDb {
|
||||
|
@ -30,7 +31,7 @@ let
|
|||
|
||||
# for haskell binaries
|
||||
iana-etc
|
||||
];
|
||||
] ++ extraContents;
|
||||
|
||||
extraCommands = ''
|
||||
# for /usr/bin/env
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue