mirror of
https://github.com/nix-community/docker-nixpkgs.git
synced 2026-01-11 20:30:37 -05:00
add cachix
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user