aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2024-01-25 11:35:33 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2024-01-25 11:35:33 +0100
commit93c0aa4b3a89201530520c46986659731a43cad6 (patch)
tree293c46d8c200dbd9b4fb23f42da8774b242a86a2 /flake.nix
parent414634f5975a6157e459619c44f10f64c17a09c6 (diff)
downloadaerogramme-93c0aa4b3a89201530520c46986659731a43cad6.tar.gz
aerogramme-93c0aa4b3a89201530520c46986659731a43cad6.zip
Various post-release fixes
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" ];
};
};