diff --git a/flake.nix b/flake.nix index 6bd07f1..915b35b 100644 --- a/flake.nix +++ b/flake.nix @@ -221,7 +221,6 @@ nativeBuildInputs = [ zigLatest.hook - #pkgs.makeWrapper ]; buildInputs = @@ -234,8 +233,9 @@ ''; 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} ''