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
|
, iana-etc
|
||||||
, nix
|
, nix
|
||||||
, xz
|
, xz
|
||||||
|
, extraContents ? []
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
image = dockerTools.buildImageWithNixDb {
|
image = dockerTools.buildImageWithNixDb {
|
||||||
|
@ -30,7 +31,7 @@ let
|
||||||
|
|
||||||
# for haskell binaries
|
# for haskell binaries
|
||||||
iana-etc
|
iana-etc
|
||||||
];
|
] ++ extraContents;
|
||||||
|
|
||||||
extraCommands = ''
|
extraCommands = ''
|
||||||
# for /usr/bin/env
|
# for /usr/bin/env
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue