aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix
index 7811c97..a94298c 100644
--- a/flake.nix
+++ b/flake.nix
@@ -132,7 +132,8 @@
dontUnpack = true;
dontBuild = true;
installPhase = ''
- cp ${(rustRelease.workspace.aerogramme {}).bin}/bin/aerogramme $out
+ mkdir -p $out/bin
+ cp ${(rustRelease.workspace.aerogramme {}).bin}/bin/aerogramme $out/bin/
'';
};
@@ -151,8 +152,10 @@
container = pkgs.dockerTools.buildImage {
name = "dxflrs/aerogramme";
architecture = (builtins.getAttr targetHost archMap).GOARCH;
+ copyToRoot = bin;
config = {
- Cmd = [ "${bin}" "server" ];
+ Env = [ "PATH=/bin" ];
+ Cmd = [ "aerogramme" "--dev" "provider" "daemon" ];
};
};