Skip to content

Commit 5978ab1

Browse files
committed
ci: extra build option
1 parent ac0056f commit 5978ab1

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

flake.nix

+13-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
date = "2022-09-03";
3232
channel = "nightly";
3333
}).default.override {
34-
extensions = [ "rust-src" ];
34+
extensions = [ "rust-src" "rust-analyzer" ];
3535
targets = [ "x86_64-unknown-linux-musl" ];
3636
};
3737
in
@@ -156,6 +156,18 @@
156156
patchPhase = "true";
157157
fixupPhase = "true";
158158
};
159+
driver-proxy-release-tar-zstd = with pkgs;
160+
stdenv.mkDerivation {
161+
inherit (packages.driver-proxy-release) version pname;
162+
unpackPhase = "true";
163+
patchPhase = "true";
164+
fixupPhase = "true";
165+
installPhase = ''
166+
mkdir $out/
167+
cd ${packages.driver-proxy-release}
168+
tar -cv * | ${pkgs.zstd}/bin/zstd -9 > $out/driver.tar.zst
169+
'';
170+
};
159171
};
160172
devShells = {
161173
default = pkgs.mkShell {

0 commit comments

Comments
 (0)