Skip to content

Commit 8da45cd

Browse files
committed
ci: use bundled sewer
Signed-off-by: Yaroslav Bolyukin <[email protected]>
1 parent 2666c1c commit 8da45cd

File tree

2 files changed

+21
-13
lines changed

2 files changed

+21
-13
lines changed

dist-proxy/install.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ set -euo pipefail
55
SCRIPT=$(readlink -f "$0")
66
SCRIPTPATH=$(dirname $SCRIPT)
77

8+
# Patreon release contains bundled sewer, use it here
9+
PATH=$SCRIPTPATH/bin:$PATH
10+
11+
echo "SteamVR proxy driver for Vive Pro 2"
12+
echo "Consider supporting developer on patreon: https://patreon.com/0lach"
13+
sleep 3
14+
815
STEAMVR="${STEAMVR:-$HOME/.local/share/Steam/steamapps/common/SteamVR}"
916
if ! test -d $STEAMVR; then
1017
echo "SteamVR not found at $STEAMVR (Set \$STEAMVR manually?)"

flake.nix

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -26,22 +26,22 @@
2626
rust-overlay.overlay
2727
(final: prev:
2828
let
29-
rust =
30-
(final.buildPackages.rustChannelOf {
31-
date = "2022-04-15";
32-
channel = "nightly";
33-
}).default.override {
34-
extensions = [ "rust-src" ];
35-
};
29+
rust = (final.buildPackages.rustChannelOf {
30+
date = "2022-04-08";
31+
channel = "nightly";
32+
}).default.override {
33+
extensions = [ "rust-src" ];
34+
targets = [ "x86_64-unknown-linux-musl" ];
35+
};
3636
in
3737
{
3838
rustDev = rust;
39-
rustPlatform =
40-
prev.makeRustPlatform {
41-
rustc = rust;
42-
cargo = rust;
43-
};
44-
})
39+
rustPlatform = prev.makeRustPlatform {
40+
rustc = rust;
41+
cargo = rust;
42+
};
43+
}
44+
)
4545
];
4646
};
4747
pkgs-mingw = import nixpkgs {
@@ -143,6 +143,7 @@
143143
installPhase = ''
144144
cp -r $src/dist-proxy/ $out/
145145
chmod u+w -R $out
146+
mkdir $out/bin/
146147
cp ${packages.sewer}/bin/sewer $out/bin/
147148
cp ${packages.lens-server}/bin/lens-server.exe $out/lens-server/
148149
cp ${packages.driver-proxy}/lib/libdriver_proxy.so $out/driver_lighthouse.so

0 commit comments

Comments
 (0)