nix
Nix 11mo ago
Jump
Final Rice for This Year
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCA
    CaniballShiaLaBuff
    11mo ago 50%

    I just realized that Nixos is really good for ricing.

    You can safely experiment without a fear of breaking the system, forgetting to uninstall something, etc.

    I'll need to experiment with something different from Gnome.

    0
  • nix
    Nix 11mo ago
    Jump
    I'm trying to package a binary, how to translate missing files into package names?
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCA
    CaniballShiaLaBuff
    11mo ago 100%

    This is my current derivation if you want to take a look, but I think that it's correct because I just copy-pasted it from wiki.

    I think I just need to figure out which packages to install to provide all required libraries.

    1
  • I'm trying to package [this](https://github.com/NixOS/nixpkgs/issues/266113). I followed the [wiki](https://nixos.wiki/wiki/Packaging/Binaries) and when I tried to run it with `autopatchelf` hook I got this: ``` setting interpreter of /nix/store/bwxdfc238al3mmvsqx7qf3a1l4i3ip3l-keymapp-21.07.0/bin/keymapp searching for dependencies of /nix/store/bwxdfc238al3mmvsqx7qf3a1l4i3ip3l-keymapp-21.07.0/bin/keymapp libusb-1.0.so.0 -> not found! libudev.so.1 -> not found! libwebkit2gtk-4.0.so.37 -> not found! libgtk-3.so.0 -> not found! libgdk-3.so.0 -> not found! libgdk_pixbuf-2.0.so.0 -> not found! libgio-2.0.so.0 -> not found! libjavascriptcoregtk-4.0.so.18 -> not found! libgobject-2.0.so.0 -> not found! libglib-2.0.so.0 -> not found! libstdc++.so.6 -> not found! libgcc_s.so.1 -> not found! auto-patchelf: 12 dependencies could not be satisfied ``` I figured out that the first (and actually second too) get resolved by adding `libusb1`, but I have trouble figuring out the name of the package that contains `libwebkit2gtk-4.0.so.37`. Is there some tool that could tell me which packages do I need to install to get these files? Or what is the best way to do this?

    2
    3