Skip to content

Commit

Permalink
fix: remove xz compression option.
Browse files Browse the repository at this point in the history
nix-portable currently does not ship xz so it could crash when executing a xz compressed bundle
  • Loading branch information
DavHau committed Apr 15, 2024
1 parent 7debc16 commit 7eba433
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,6 @@ let
### install nix store
# Install all the nix store paths necessary for the current nix-portable version
# We only unpack missing store paths from the tar archive.
# xz must be in PATH
index="$(cat ${storeTar}/index)"
# if [ ! "\$NP_RUNTIME" == "nix" ]; then
Expand Down
4 changes: 0 additions & 4 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -172,10 +172,6 @@
bundledPackage = drv;
compression = "zstd -19 -T0";
};
xz-max = drv: self.packages.${system}.nix-portable.override {
bundledPackage = drv;
compression = "xz -9 -T0";
};
});

devShell = forAllSystems (system: pkgs:
Expand Down

0 comments on commit 7eba433

Please sign in to comment.