mirror of
https://github.com/vale981/hiro-flake-utils
synced 2025-03-04 08:51:40 -05:00
try add-to-root
This commit is contained in:
parent
a13ac716a2
commit
90714b1950
1 changed files with 5 additions and 1 deletions
|
@ -213,7 +213,11 @@
|
|||
${name} = pkgs.${name};
|
||||
"${name}Docker" = pkgs.dockerTools.buildImage {
|
||||
name = "${name}";
|
||||
buildInputs = [pkgs.${name}];
|
||||
copyToRoot = pkgs.buildEnv {
|
||||
name = "image-root";
|
||||
paths = [ pkgs.${name} (shellPackages pkgs) ];
|
||||
pathsToLink = [ "/bin" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue