Skip to content

Commit ef2b55a

Browse files
committed
ci: build sewer for release
Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>
1 parent 25225be commit ef2b55a

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

flake.nix

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,19 @@
116116
nativeBuildInputs = [ pkgconfig ];
117117
buildInputs = [ udev ];
118118
};
119+
sewer = with pkgs.pkgsStatic;
120+
rustPlatform.buildRustPackage {
121+
name = "sewer";
122+
src = fetchFromGitHub {
123+
owner = "CertainLach";
124+
repo = "sewer";
125+
rev = "fb0d054e53e2afd4c64232318495e5351b446330";
126+
hash = "sha256-2S2JXKLbRQsrQmt25djj/x284NXqPSGJjybDe9Uw7ZM=";
127+
};
128+
cargoHash = "sha256-LZTAWRZbJktp5cDTkPWcBSPJwnG5fYDDRGkrVIVdWyU=";
129+
target = "x86_64-unknown-linux-musl";
130+
doCheck = false;
131+
};
119132
lens-server = with pkgs-mingw;
120133
rustPlatform.buildRustPackage {
121134
inherit version src cargoLock;
@@ -130,6 +143,7 @@
130143
installPhase = ''
131144
cp -r $src/dist-proxy/ $out/
132145
chmod u+w -R $out
146+
cp ${packages.sewer}/bin/sewer $out/bin/
133147
cp ${packages.lens-server}/bin/lens-server.exe $out/lens-server/
134148
cp ${packages.driver-proxy}/lib/libdriver_proxy.so $out/driver_lighthouse.so
135149
'';

0 commit comments

Comments
 (0)