Shell.nix for

I have difficulaties to make available to anAppImage.

I tried following shell.nix:

with import <nixpkgs> {};
mkShell {
  NIX_LD_LIBRARY_PATH = lib.makeLibraryPath [
  NIX_LD = lib.fileContents "${}/nix-support/dynamic-linker";

  buildInputs = [ appimage-run libthai ];

I execute nix-shell shell.nix. Then

appimage-run git-butler_0.9.21_amd64.AppImage 

Then I get

git-butler: error while loading shared libraries: cannot open shared object file: No such file or directory

But I thought, is available because of the statements in shell.nix.

It works for me. Maybe the channel needs to be updated

    environment.systemPackages = with pkgs; [
      (appimage-run.override {
        extraPkgs =
          pkgs: with pkgs; [