Skip to content

Commit

Permalink
feat: add parameter extraBasePkgs NixOS#12120
Browse files Browse the repository at this point in the history
  • Loading branch information
jceb authored and Build Service committed Dec 31, 2024
1 parent 61c3559 commit b0ec7bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
, bundleNixpkgs ? true
, channelName ? "nixpkgs"
, channelURL ? "https://nixos.org/channels/nixpkgs-unstable"
, extraBasePkgs ? []
, extraPkgs ? []
, maxLayers ? 100
, nixConf ? {}
Expand Down Expand Up @@ -287,7 +288,7 @@ pkgs.dockerTools.buildLayeredImageWithNixDb {

inherit name tag maxLayers uid gid uname gname;

contents = [ baseSystem ];
contents = [ baseSystem ] ++ extraBasePkgs;

extraCommands = ''
rm -rf nix-support
Expand Down

0 comments on commit b0ec7bd

Please sign in to comment.