Skip to content

Commit

Permalink
ci: extra build option
Browse files Browse the repository at this point in the history
  • Loading branch information
CertainLach committed Sep 9, 2023
1 parent ac0056f commit 5978ab1
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
date = "2022-09-03";
channel = "nightly";
}).default.override {
extensions = [ "rust-src" ];
extensions = [ "rust-src" "rust-analyzer" ];
targets = [ "x86_64-unknown-linux-musl" ];
};
in
Expand Down Expand Up @@ -156,6 +156,18 @@
patchPhase = "true";
fixupPhase = "true";
};
driver-proxy-release-tar-zstd = with pkgs;
stdenv.mkDerivation {
inherit (packages.driver-proxy-release) version pname;
unpackPhase = "true";
patchPhase = "true";
fixupPhase = "true";
installPhase = ''
mkdir $out/
cd ${packages.driver-proxy-release}
tar -cv * | ${pkgs.zstd}/bin/zstd -9 > $out/driver.tar.zst
'';
};
};
devShells = {
default = pkgs.mkShell {
Expand Down

0 comments on commit 5978ab1

Please sign in to comment.