Skip to content

Commit

Permalink
fix: Add libz to FHS as required by Nuitka
Browse files Browse the repository at this point in the history
  • Loading branch information
JuneStepp committed Feb 23, 2025
1 parent 45fb253 commit 20967ba
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ OneLauncher uses [Poetry](https://python-poetry.org) for dependency management.

OneLauncher comes with a [Nix](https://nixos.org/) flake for easily replicating the standard development environment. It can be used with [direnv](https://github.com/direnv/direnv) or the `nix develop` command. When using Nix, dependencies aren't installed with poetry. `poetry add`, ect can still be used for editing the dependency files, but `poetry run` should not be used.

The easiest way to test compiled builds on NixOS is to use `steam-run`. Ex: `nix run nixpkgs#steam-run build/out/onelauncher.bin`.
The compiled builds can be tested on NixOS with `nix run .#fhs-run build/out/onelauncher.bin`.

## Building

Expand Down
6 changes: 6 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,12 @@
packages = {
onelauncher = poetry_app;
default = self.packages.${system}.onelauncher;
fhs-run =
(pkgs.steam-fhsenv-without-steam.override {
# steam-unwrapped = null;
extraPkgs = pkgs: [pkgs.libz];
})
.run;
};
devShells.default = pkgs.mkShell {
inputsFrom = [poetry_env.env];
Expand Down

0 comments on commit 20967ba

Please sign in to comment.