mirror of
https://code.tvl.fyi/depot.git:/tools/nixery.git
synced 2025-03-15 22:21:52 +00:00
feat(build): Add 'extraPackages' parameter
This makes it possible to inject additional programs (e.g. Cachix) into a Nixery container.
This commit is contained in:
parent
80f8a4bc84
commit
2704d7c18e
|
@ -11,7 +11,9 @@
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
{ pkgs ? import <nixpkgs> { }, preLaunch ? "" }:
|
{ pkgs ? import <nixpkgs> { }
|
||||||
|
, preLaunch ? ""
|
||||||
|
, extraPackages ? [] }:
|
||||||
|
|
||||||
with pkgs;
|
with pkgs;
|
||||||
|
|
||||||
|
@ -93,6 +95,6 @@ rec {
|
||||||
nixery-launch-script
|
nixery-launch-script
|
||||||
openssh
|
openssh
|
||||||
zlib
|
zlib
|
||||||
];
|
] ++ extraPackages;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user