mirror of
https://github.com/hercules-ci/arion.git
synced 2024-09-11 18:47:27 +03:00
Set default PATH when image.enableRecommendedContents is true
This commit is contained in:
parent
261d1507d6
commit
9334c8ec11
@ -28,9 +28,12 @@ in
|
||||
};
|
||||
};
|
||||
|
||||
config = {
|
||||
image.contents = mkIf config.image.enableRecommendedContents [
|
||||
config = mkIf config.image.enableRecommendedContents {
|
||||
image.contents = [
|
||||
(pkgs.callPackage recommendedContents {})
|
||||
];
|
||||
image.rawConfig.Env = {
|
||||
"PATH" = lib.mkDefault "/run/current-system/sw/bin:/bin:/usr/bin:/usr/local/bin";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user