Skip to content

Commit

Permalink
container: fix build
Browse files Browse the repository at this point in the history
Signed-off-by: lucasew <lucas59356@gmail.com>
  • Loading branch information
lucasew committed Sep 15, 2024
1 parent 451fb0c commit d622bf2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion container.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ dockerTools.streamLayeredImage {

config = {
Entrypoint = [
(lib.getExe (python3Packages.callPackage ./package.nix {}))
(lib.getExe (python3Packages.callPackage ./package.nix {inherit self;}))
];
User = "user";
Env = [
Expand Down
2 changes: 2 additions & 0 deletions package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,6 @@ buildGo122Module {
# substituteInPlace vendor/gvisor.dev/gvisor/pkg/refs/refs_template.go \
# --replace refs_template refs
'';

meta.mainProgram = "ts-proxy";
}

0 comments on commit d622bf2

Please sign in to comment.