Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building from Source on NixOS (with nix develop) - could not find BOOST #614

Open
2 tasks done
dozenit opened this issue Dec 26, 2023 · 0 comments
Open
2 tasks done
Labels
bug Something isn't working needs verification Description of the issue needs to be verified by the team

Comments

@dozenit
Copy link

dozenit commented Dec 26, 2023

Pre-submit checks

  • I checked for similar issues beforehand, but could not find any, not even closed ones. I could not add my bug report to any existing issue.
  • I am going to take the time to to fill in all the required details. I know that the bug report will be dismissed otherwise.

Describe the bug

I tried to build the latest version of the AppImage launcher from source on NixOS.
However, I do get build errors due to missing boost dependencies.

Right off the bat, a word of caution:
The issue might not be due to any errors with the source files of this project, but the author's ignorance on handling a NixOS development 🙃

How I set up my development environment

I followed this little tutorial:

  • C++ with Nix in 2023, Part 1: Developer Shells
    • As far as I can tell, these are rather basic steps to set up a reproducible nix development environment, i.e. one of the strength that make NixOS so appealing.
  • Note: a warning deprecates the usage of CMake versions older than 3.5
    • As I am using 3.27.8, I do assume this is a false warning (perhaps it just checks the first digit after the period?).
    • which cmake returns: /nix/store/f5ckbfw9yyk0s763h0wdb2ia4f1bayav-python3.11-cmake-3.27.8/bin/cmake

Packages listed in BUILD.md (and Nix packages I used instead)

All dependencies need to be installed as development libraries. Some names may differ on your system.

 - make (make)
 - cmake (cmake)
 - glib-2 (glib) # glib version 2.78.1
 - cairo (cairo)
 - librsvg (librsvg)
 - fuse (fuse*)
 - libarchive (libarchive)
 - libXpm (xorg.libXpm)
 - qt5 (libsForQt5.qt5ct)
 - libcurl (curl)
 - boost (boost)
 - (automake) # said it needs `aclocal`
 - (autoconf) # said it needs `autoheader`
 - (desktop-file-utils) # said it needs desktop-file-validate
 - (python311Packages.pkgconfig) # required for 'PKG_CONFIG_EXECUTABLE' in cmake-3.27 modules

Expected behavior

AppImageLauncher will be built from source on NixOS when executing the command given in the [BUILD.md](https://github.com/TheAssassin/AppImageLauncher/blob/master/BUILD.md) file, as noted in the readme:
Speculation:

  • The file CMakeLists.txt needs to be tweaked to make the pkg-config work.
    • Perhaps similar as discussed here
    • Note: I tried adding pkg-config to flake.nix, but this did not change the output. It also will still return the following message when I check which pkg-config:
      • which: no pkg-config in (/run/wrappers/bin:/home/<user>/.nix-profile/bin:/nix/profile/bin:/home/<user>/.local/state/nix/profile/bin:/etc/profiles/per-user/<user>/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin)

AppImageLauncher can be built from source on NixOS when executing the command given in the [BUILD.md](https://github.com/TheAssassin/AppImageLauncher/blob/master/BUILD.md) file, as noted in the readme.

Caveats

  • The System-wide installation of the AppImageLauncher readme did not list NixOS.
    • I assume this means NixOS is currently not supported, and why the build script fails
    • As names vary somewhat with each distro, the list of needed packages in the BUILD.md file did not match the nix package names.
      • For a list of packages I used, see the contents of flake.nix below in Distribution and desktop environment.
    • Beyond figuring out the right nix packages, the build script might also need further tweaks for the custom development environment.
      • However, it might be possible that the issues with the missing boost are simply due to the way nix handles dependencies when building packages.
        • I suspect this as which boost tells me that there is no boost version available (despite it being listed in my flake.nix.

Steps to reproduce the issue

  1. Install NixOS 24.05
  2. Create a directory for the development environment, e.g. ~/development, cd into it.
  3. Execute nix flake init.
  4. Edit flake.nix to include the needed packages (see _Distribution and desktop environment).
  5. Execute nix develop
  6. Clone the master branch of the AppImageLauncher.
  7. cd into AppImageLauncher, then execute git submodule update --init --recursive
  8. Create the build directory and switch into it: mkdir build && cd build
  9. Export the export PREFIX="/usr/local/"
  10. Build from source using the command from BUILD.md: cmake .. -DCMAKE_INSTALL_PREFIX="$PREFIX" -DUSE_SYSTEM_BOOST=true

Screenshots

(none)

Output after executing the build command:

[<user>@nixos:~/development/AppImageLauncher/build]$ cmake .. -DCMAKE_INSTALL_PREFIX="$PREFIX" -DUSE_SYSTEM_BOOST=true

CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- Storing git commit ID in cache file
-- Git commit: 0013516
CMake Deprecation Warning at cmake/reproducible_builds.cmake:5 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  CMakeLists.txt:12 (include)


-- CMAKE_INSTALL_LIBDIR: lib64
CMake Warning at cmake/install.cmake:41 (message):
  Could not find libappimage library files, cannot bundle; if you want to
  bundle the files, please re-run cmake before calling make install
Call Stack (most recent call first):
  CMakeLists.txt:44 (include)


CMake Warning at cmake/install.cmake:41 (message):
  Could not find libappimageupdate library files, cannot bundle; if you want
  to bundle the files, please re-run cmake before calling make install
Call Stack (most recent call first):
  CMakeLists.txt:44 (include)


CMake Warning at cmake/install.cmake:41 (message):
  Could not find libappimageupdate-qt library files, cannot bundle; if you
  want to bundle the files, please re-run cmake before calling make install
Call Stack (most recent call first):
  CMakeLists.txt:44 (include)


CMake Deprecation Warning at lib/AppImageUpdate/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at lib/AppImageUpdate/lib/zsync2/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at lib/AppImageUpdate/lib/zsync2/lib/zlib/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at lib/AppImageUpdate/lib/zsync2/lib/librcksum/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at lib/AppImageUpdate/lib/zsync2/lib/libzsync/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at lib/AppImageUpdate/lib/zsync2/lib/cpr/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- C++ Requests CMake Options
-- =======================================================
--   USE_SYSTEM_CURL: ON
--   BUILD_CPR_TESTS: OFF
--   GENERATE_COVERAGE: OFF
--   CPR_CURL_NOSIGNAL: OFF
--   USE_SYSTEM_GTEST: OFF
--   CMAKE_USE_OPENSSL: ON
-- =======================================================
-- Set CURL_FOUND to TRUE.
-- Set CURL_LIBRARIES to /nix/store/aw9m5pswamgx2sck6isg4pr1ly1i0b1l-curl-8.4.0/lib/libcurl.so.
-- Set CURL_INCLUDE_DIRS to /nix/store/q5ibkxqyvwz193rgyl8scalrwpxjviak-curl-8.4.0-dev/include.
-- Using CURL_INCLUDE_DIRS: /nix/store/q5ibkxqyvwz193rgyl8scalrwpxjviak-curl-8.4.0-dev/include.
-- Using CURL_LIBRARIES: /nix/store/aw9m5pswamgx2sck6isg4pr1ly1i0b1l-curl-8.4.0/lib/libcurl.so.
CMake Deprecation Warning at lib/AppImageUpdate/lib/zsync2/lib/gtest/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at lib/AppImageUpdate/lib/zsync2/lib/gtest/googlemock/CMakeLists.txt:41 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at lib/AppImageUpdate/lib/zsync2/lib/gtest/googletest/CMakeLists.txt:48 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Warning (dev) at lib/AppImageUpdate/lib/zsync2/lib/gtest/googletest/cmake/internal_utils.cmake:209 (find_package):
  Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
  are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.

Call Stack (most recent call first):
  lib/AppImageUpdate/lib/zsync2/lib/gtest/googletest/CMakeLists.txt:60 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Deprecation Warning at lib/AppImageUpdate/lib/zsync2/lib/hashlib/CMakeLists.txt:4 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- Building hashlib tests
CMake Deprecation Warning at lib/AppImageUpdate/lib/libappimage/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at lib/AppImageUpdate/lib/libappimage/cmake/reproducible_builds.cmake:5 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  lib/AppImageUpdate/lib/libappimage/CMakeLists.txt:26 (include)


-- Checking for program aclocal
-- Found program aclocal: /nix/store/bkqywjp1i0dcgq1rrrkrc8j2zjh7cf8a-automake-1.16.5/bin/aclocal
-- Checking for program autoheader
-- Found program autoheader: /nix/store/iw4wi62kv0skc3dsgdmxbkpn45p7xk0b-autoconf-2.71/bin/autoheader
-- Checking for program automake
-- Found program automake: /nix/store/bkqywjp1i0dcgq1rrrkrc8j2zjh7cf8a-automake-1.16.5/bin/automake
-- Checking for program autoreconf
-- Found program autoreconf: /nix/store/iw4wi62kv0skc3dsgdmxbkpn45p7xk0b-autoconf-2.71/bin/autoreconf
-- Checking for program libtoolize
-- Found program libtoolize: /nix/store/w1qkghfi3ziz3ryqhrsrypsfckvvn735-libtool-2.4.7/bin/libtoolize
-- Checking for program patch
-- Found program patch: /nix/store/l6s9gwsallxxgz3qy7xk6410y842m6dn-patch-2.7.6/bin/patch
-- Checking for program sed
-- Found program sed: /nix/store/7fqp73ncnbwr5bxxszqicf6r33d9yhkw-gnused-4.9/bin/sed
-- Checking for program wget
-- Found program wget: /run/current-system/sw/bin/wget
-- Checking for program xxd
-- Found program xxd: /run/current-system/sw/bin/xxd
-- Checking for program desktop-file-validate
-- Found program desktop-file-validate: /nix/store/mqjqydhpimcxcf7vz3bjnx54fz7ypma0-desktop-file-utils-0.27/bin/desktop-file-validate
-- Checking for program objcopy
-- Found program objcopy: /nix/store/sfgnb6rr428bssyrs54d6d0vv2avi95c-gcc-wrapper-12.3.0/bin/objcopy
-- Checking for program objdump
-- Found program objdump: /nix/store/sfgnb6rr428bssyrs54d6d0vv2avi95c-gcc-wrapper-12.3.0/bin/objdump
-- Checking for program readelf
-- Found program readelf: /nix/store/sfgnb6rr428bssyrs54d6d0vv2avi95c-gcc-wrapper-12.3.0/bin/readelf
-- Checking for program strip
-- Found program strip: /nix/store/sfgnb6rr428bssyrs54d6d0vv2avi95c-gcc-wrapper-12.3.0/bin/strip
-- Checking for program make
-- Found program make: /nix/store/452v8bl3sjaq4kil1d9vqxc5vns4cvpp-gnumake-4.4.1/bin/make
CMake Deprecation Warning at lib/AppImageUpdate/lib/libappimage/cmake/dependencies.cmake:2 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  lib/AppImageUpdate/lib/libappimage/CMakeLists.txt:29 (include)


CMake Deprecation Warning at lib/AppImageUpdate/lib/libappimage/cmake/scripts.cmake:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  lib/AppImageUpdate/lib/libappimage/cmake/dependencies.cmake:4 (include)
  lib/AppImageUpdate/lib/libappimage/CMakeLists.txt:29 (include)


CMake Deprecation Warning at lib/AppImageUpdate/lib/libappimage/cmake/scripts.cmake:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  lib/AppImageUpdate/lib/libappimage/cmake/imported_dependencies.cmake:1 (include)
  lib/AppImageUpdate/lib/libappimage/cmake/dependencies.cmake:7 (include)
  lib/AppImageUpdate/lib/libappimage/CMakeLists.txt:29 (include)


-- Importing target libglib via pkg-config (glib-2.0>=2.40, shared)
-- Importing target libgobject via pkg-config (gobject-2.0>=2.40, shared)
-- Importing target libgio via pkg-config (gio-2.0>=2.40, shared)
-- Importing target libzlib via pkg-config (zlib, shared)
-- Importing target libcairo via pkg-config (cairo, shared)
-- Importing target librsvg via pkg-config (librsvg-2.0, shared)
-- Downloading and building xz
CMake Warning (dev) at /nix/store/4vq5ggsg1vmfs09r4sqbidmgvqlxrv14-cmake-3.27.8/share/cmake-3.27/Modules/ExternalProject.cmake:3136 (message):
  The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is
  not set.  The policy's OLD behavior will be used.  When using a URL
  download, the timestamps of extracted files should preferably be that of
  the time of extraction, otherwise code that depends on the extracted
  contents might not be rebuilt if the URL changes.  The OLD behavior
  preserves the timestamps from the archive instead, but this is usually not
  what you want.  Update your project to the NEW behavior or specify the
  DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this
  robustness issue.
Call Stack (most recent call first):
  /nix/store/4vq5ggsg1vmfs09r4sqbidmgvqlxrv14-cmake-3.27.8/share/cmake-3.27/Modules/ExternalProject.cmake:4345 (_ep_add_download_command)
  lib/AppImageUpdate/lib/libappimage/cmake/dependencies.cmake:31 (ExternalProject_Add)
  lib/AppImageUpdate/lib/libappimage/CMakeLists.txt:29 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Downloading and building squashfuse
-- Importing target libfuse via pkg-config (fuse, shared)
-- Downloading and building libarchive
CMake Warning (dev) at /nix/store/4vq5ggsg1vmfs09r4sqbidmgvqlxrv14-cmake-3.27.8/share/cmake-3.27/Modules/ExternalProject.cmake:3136 (message):
  The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is
  not set.  The policy's OLD behavior will be used.  When using a URL
  download, the timestamps of extracted files should preferably be that of
  the time of extraction, otherwise code that depends on the extracted
  contents might not be rebuilt if the URL changes.  The OLD behavior
  preserves the timestamps from the archive instead, but this is usually not
  what you want.  Update your project to the NEW behavior or specify the
  DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this
  robustness issue.
Call Stack (most recent call first):
  /nix/store/4vq5ggsg1vmfs09r4sqbidmgvqlxrv14-cmake-3.27.8/share/cmake-3.27/Modules/ExternalProject.cmake:4345 (_ep_add_download_command)
  lib/AppImageUpdate/lib/libappimage/cmake/dependencies.cmake:112 (ExternalProject_Add)
  lib/AppImageUpdate/lib/libappimage/CMakeLists.txt:29 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at /nix/store/4vq5ggsg1vmfs09r4sqbidmgvqlxrv14-cmake-3.27.8/share/cmake-3.27/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find Boost (missing: Boost_INCLUDE_DIR filesystem)
Call Stack (most recent call first):
  /nix/store/4vq5ggsg1vmfs09r4sqbidmgvqlxrv14-cmake-3.27.8/share/cmake-3.27/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
  /nix/store/4vq5ggsg1vmfs09r4sqbidmgvqlxrv14-cmake-3.27.8/share/cmake-3.27/Modules/FindBoost.cmake:2392 (find_package_handle_standard_args)
  lib/AppImageUpdate/lib/libappimage/cmake/dependencies.cmake:181 (find_package)
  lib/AppImageUpdate/lib/libappimage/CMakeLists.txt:29 (include)


-- Configuring incomplete, errors occurred!

Distribution and desktop environment

Output of cat /etc/*release:

DISTRIB_CODENAME=uakari
DISTRIB_DESCRIPTION="NixOS 24.05 (Uakari)"
DISTRIB_ID=nixos
DISTRIB_RELEASE="24.05"
LSB_VERSION="24.05 (Uakari)"
BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues"
BUILD_ID="24.05.20231211.a9bf124"
DOCUMENTATION_URL="https://nixos.org/learn.html"
HOME_URL="https://nixos.org/"
ID=nixos
LOGO="nix-snowflake"
NAME=NixOS
PRETTY_NAME="NixOS 24.05 (Uakari)"
SUPPORT_URL="https://nixos.org/community.html"
VERSION="24.05 (Uakari)"
VERSION_CODENAME=uakari
VERSION_ID="24.05"

nix.flake contents

(relevant for packages used for the build environment):

{
  description = "Development Environment with Nix in December 2023 for AppImageLauncher";

  inputs = {
    nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
  };

  outputs = inputs@{ flake-parts, ... }:
    flake-parts.lib.mkFlake { inherit inputs; } {
      # This is the list of architectures that work with this project
      systems = [
        "x86_64-linux" "aarch64-linux" "aarch64-darwin" "x86_64-darwin"
      ];
      perSystem = { config, self', inputs', pkgs, system, ... }: {

        # devShells.default describes the default shell with C++, cmake, boost,
        # and catch2
        devShells.default = pkgs.mkShell {
          packages = with pkgs; [
            # C++ Compiler is already part of stdenv,
            # boost is already included in devShells.default
            cairo
            librsvg
            libsForQt5.qt5ct
            xorg.libXpm
            curl
            automake # said it needs aclocal
            autoconf # said it needs autoheader
            libtool # generic library support script
            desktop-file-utils # said it needs desktop-file-validate
            python311Packages.pkgconfig # required for 'PKG_CONFIG_EXECUTABLE' in cmake-3.27 modules
            fuse
          ];
        };
      };
    };
}

More specifics on NixOS

Output of nix-shell -p nix-info --run "nix-info -m":

 - system: `"x86_64-linux"`
 - host os: `Linux 6.1.67, NixOS, 24.05 (Uakari), 24.05.20231211.a9bf124`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.1`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Shared Libraries

Potentially interesting as well, the output of ldd $(which cmake):

	linux-vdso.so.1 (0x00007ffff7fc8000)
	libdl.so.2 => /nix/store/9y8pmvk8gdwwznmkzxa6pwyah52xy3nk-glibc-2.38-27/lib/libdl.so.2 (0x00007ffff7fbd000)
	libcurl.so.4 => /nix/store/frgbrl8xd1wnvmpyk4s8mwcc9zl9yh88-curl-8.4.0/lib/libcurl.so.4 (0x00007ffff7f03000)
	libexpat.so.1 => /nix/store/dj4dd4b59f1rxx10p1yx73pnbb2m1j6n-expat-2.5.0/lib/libexpat.so.1 (0x00007ffff7ed8000)
	libarchive.so.13 => /nix/store/073vf4g67wa2kc0hc6gi9lrnspdmj1ha-libarchive-3.7.2-lib/lib/libarchive.so.13 (0x00007ffff7e10000)
	librhash.so.1 => /nix/store/5ax9rg1gr3f6h057xlb9a783b3w4mfj3-rhash-1.4.4/lib/librhash.so.1 (0x00007ffff7dd9000)
	libuv.so.1 => /nix/store/p4x3hr44ah240zascb7ygk4m5b6sbrnx-libuv-1.47.0/lib/libuv.so.1 (0x00007ffff7da5000)
	libz.so.1 => /nix/store/lprrvg44cyn9ajpq77lh7rlnp4kzdqzs-zlib-1.3/lib/libz.so.1 (0x00007ffff7d87000)
	libstdc++.so.6 => /nix/store/dghjv6hfz0s0z4kffa5ahyw2mhp79215-gcc-12.3.0-lib/lib/libstdc++.so.6 (0x00007ffff7a00000)
	libm.so.6 => /nix/store/9y8pmvk8gdwwznmkzxa6pwyah52xy3nk-glibc-2.38-27/lib/libm.so.6 (0x00007ffff7ca7000)
	libgcc_s.so.1 => /nix/store/dghjv6hfz0s0z4kffa5ahyw2mhp79215-gcc-12.3.0-lib/lib/libgcc_s.so.1 (0x00007ffff7c84000)
	libc.so.6 => /nix/store/9y8pmvk8gdwwznmkzxa6pwyah52xy3nk-glibc-2.38-27/lib/libc.so.6 (0x00007ffff7818000)
	/nix/store/9y8pmvk8gdwwznmkzxa6pwyah52xy3nk-glibc-2.38-27/lib/ld-linux-x86-64.so.2 => /nix/store/qn3ggz5sf3hkjs2c797xf7nan3amdxmp-glibc-2.38-27/lib64/ld-linux-x86-64.so.2 (0x00007ffff7fca000)
	libnghttp2.so.14 => /nix/store/52jbfqp6b13iim4hlq1q9jvr2scsiass-nghttp2-1.57.0-lib/lib/libnghttp2.so.14 (0x00007ffff7c54000)
	libssh2.so.1 => /nix/store/aky7n8mqsb0drczp6fzsskzw7zy01xzx-libssh2-1.11.0/lib/libssh2.so.1 (0x00007ffff77d2000)
	libssl.so.3 => /nix/store/c7rf6w8xvxc4423m9rsgq5nsqhknshvy-openssl-3.0.12/lib/libssl.so.3 (0x00007ffff7725000)
	libcrypto.so.3 => /nix/store/c7rf6w8xvxc4423m9rsgq5nsqhknshvy-openssl-3.0.12/lib/libcrypto.so.3 (0x00007ffff7200000)
	libgssapi_krb5.so.2 => /nix/store/r5d9p9rhs1q1sm256jb3x08zy09122hv-libkrb5-1.21.2/lib/libgssapi_krb5.so.2 (0x00007ffff76d1000)
	libacl.so.1 => /nix/store/7zqx95qyg38fic8mzk0nxz06ag3jkh12-acl-2.3.1/lib/libacl.so.1 (0x00007ffff7c47000)
	liblzma.so.5 => /nix/store/zd47il8k6kz3b9jzlafax0il9w0mrmm3-xz-5.4.5/lib/liblzma.so.5 (0x00007ffff76a2000)
	libzstd.so.1 => /nix/store/l0bavjhh5yayzkwssnixszs8bvpcp8ml-zstd-1.5.5/lib/libzstd.so.1 (0x00007ffff7134000)
	libbz2.so.1 => /nix/store/971390xv13vzrhcrqp7ds3rr0hh92jn4-bzip2-1.0.8/lib/libbz2.so.1 (0x00007ffff7c32000)
	libxml2.so.2 => /nix/store/8g3myidcxw02mv9pzyvwq9cv0y9nayi7-libxml2-2.11.5/lib/libxml2.so.2 (0x00007ffff6fd3000)
	libpthread.so.0 => /nix/store/9y8pmvk8gdwwznmkzxa6pwyah52xy3nk-glibc-2.38-27/lib/libpthread.so.0 (0x00007ffff7c2d000)
	libkrb5.so.3 => /nix/store/r5d9p9rhs1q1sm256jb3x08zy09122hv-libkrb5-1.21.2/lib/libkrb5.so.3 (0x00007ffff6efc000)
	libk5crypto.so.3 => /nix/store/r5d9p9rhs1q1sm256jb3x08zy09122hv-libkrb5-1.21.2/lib/libk5crypto.so.3 (0x00007ffff6ecd000)
	libcom_err.so.3 => /nix/store/r5d9p9rhs1q1sm256jb3x08zy09122hv-libkrb5-1.21.2/lib/libcom_err.so.3 (0x00007ffff769b000)
	libkrb5support.so.0 => /nix/store/r5d9p9rhs1q1sm256jb3x08zy09122hv-libkrb5-1.21.2/lib/libkrb5support.so.0 (0x00007ffff768d000)
	libkeyutils.so.1 => /nix/store/68ywr3fl3w450rss5n6850cwsc1d359f-keyutils-1.6.3-lib/lib/libkeyutils.so.1 (0x00007ffff7686000)
	libresolv.so.2 => /nix/store/9y8pmvk8gdwwznmkzxa6pwyah52xy3nk-glibc-2.38-27/lib/libresolv.so.2 (0x00007ffff6ebc000)
	libattr.so.1 => /nix/store/v3kjfcaysin90dqyna1rwgnxsf3pg7fz-attr-2.5.1/lib/libattr.so.1 (0x00007ffff767e000)

Installed AppImageLauncher version

(As I failed building AppImageLauncher, I'll provide the commit instead.)

Output of git rev-parse HEAD:

001351622acd8a3c578889429852cd0775454810

(On the master branch of the project, cloned yesterday, 2023-12-25.)

List of AppImages you tried

(None yet, as I failed to build the AppImageLauncher.)

Additional context

I was trying to set up AppImageLauncher on NixOS, so I could neatly handle any AppImages.
(More or less as a fallback, if the vast pool of Nix Packages failed me.)

In my case, I installed NixOS on a new machine.
I had trouble installing Obsidian using the nix package, due to an outdated dependency that made the build fail.

So I went for the AppImage.
Which is somewhat finicky to set up "neatly" (i.e. for the app launcher, so it's shown like 'regular software' installed with the respective package manager - by storing an icon and a .desktop-file at the respective location as per FHS). Since it's always the same steps, you'd think some distros would provide programs to do it for you out of the box. Which is when I looked for something that does just that; and how I discovered this neat project.

@dozenit dozenit added bug Something isn't working needs verification Description of the issue needs to be verified by the team labels Dec 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs verification Description of the issue needs to be verified by the team
Projects
None yet
Development

No branches or pull requests

1 participant