Skip to content

Commit

Permalink
82: merge zig asset build + lil changes in the client flake
Browse files Browse the repository at this point in the history
  • Loading branch information
schonfinkel committed Dec 16, 2024
1 parent 30f67bf commit eca2c01
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@

nativeBuildInputs = [
zigLatest.hook
#pkgs.makeWrapper
pkgs.makeWrapper
];

buildInputs =
Expand All @@ -234,10 +234,11 @@
'';

postInstall =
pkgs.lib.strings.intersperse "\n" (
pkgs.lib.optionals pkgs.stdenv.isLinux [
with pkgs;
lib.strings.intersperse "\n" (
lib.optionals stdenv.isLinux [
''
patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" --set-rpath ${linuxLibs} $out/bin/${zig_app}
wrapProgram "$out/bin/${zig_app}" --set LD_LIBRARY_PATH "${linuxLibs}"
''
]
);
Expand Down

0 comments on commit eca2c01

Please sign in to comment.