Now have a builder image that can actually nix build
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
buildah,
|
buildah,
|
||||||
|
fakeNss,
|
||||||
git,
|
git,
|
||||||
lib',
|
lib',
|
||||||
nix,
|
nix,
|
||||||
@@ -35,6 +36,14 @@ lib'.mkImage {
|
|||||||
name = name "builder";
|
name = name "builder";
|
||||||
contents = lib'.basePackages ++ [
|
contents = lib'.basePackages ++ [
|
||||||
buildah
|
buildah
|
||||||
|
(fakeNss.override {
|
||||||
|
extraPasswdLines = [
|
||||||
|
"nixbld:x:1001:1001:Build user:/home/nixbld:/noshell"
|
||||||
|
];
|
||||||
|
extraGroupLines = [
|
||||||
|
"nixbld:!:1001:nixbld"
|
||||||
|
];
|
||||||
|
})
|
||||||
git
|
git
|
||||||
nix
|
nix
|
||||||
nix-conf
|
nix-conf
|
||||||
|
|||||||
Reference in New Issue
Block a user