Skip to content

Commit

Permalink
feat(uniond): make bin available through path
Browse files Browse the repository at this point in the history
  • Loading branch information
KaiserKarel committed Nov 1, 2023
1 parent 794f5cd commit b179d0c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions uniond/uniond.nix
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,12 @@

copyToRoot = pkgs.buildEnv {
name = "image-root";
paths = [ pkgs.coreutils pkgs.cacert ];
paths = [ pkgs.coreutils pkgs.cacert self'.packages.uniond ];
pathsToLink = [ "/bin" ];
};
config = {
Entrypoint = [ (pkgs.lib.getExe self'.packages.uniond) ];
Entrypoint = [ "uniond" ];
Cmd = [ "start" ];
Env = [ "SSL_CERT_FILE=${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt" ];
};
};
Expand Down

0 comments on commit b179d0c

Please sign in to comment.