Skip to content

Commit

Permalink
Clean up docker image build in daemon
Browse files Browse the repository at this point in the history
  • Loading branch information
jhh committed Feb 3, 2024
1 parent 3536b9f commit 84bd5dd
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions daemon/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,12 @@
dockerImage = pkgs.dockerTools.streamLayeredImage {
name = "j3ff/deadeye-daemon";
tag = "latest";
contents = [
self.packages.${system}.deadeye-daemon
];
config.Cmd = [ "/bin/deadeyed" ];

config.Cmd =
let
deadeyePkg = self.packages.${system}.deadeye-daemon;
in
[ "${deadeyePkg}/bin/deadeyed" ];
};
};

Expand Down

0 comments on commit 84bd5dd

Please sign in to comment.