diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2024-01-25 11:35:33 +0100 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2024-01-25 11:35:33 +0100 |
commit | 93c0aa4b3a89201530520c46986659731a43cad6 (patch) | |
tree | 293c46d8c200dbd9b4fb23f42da8774b242a86a2 /flake.nix | |
parent | 414634f5975a6157e459619c44f10f64c17a09c6 (diff) | |
download | aerogramme-93c0aa4b3a89201530520c46986659731a43cad6.tar.gz aerogramme-93c0aa4b3a89201530520c46986659731a43cad6.zip |
Various post-release fixes
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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" ]; }; }; |