NixOS / NixOS/nixpkgs

bombsquad: no icon

Open
#488,709 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0.kind: bug 2.status: stale
Dominant language
Nix
Stars
26.2k
Forks
20.1k
PR merge metrics
PR metrics pending

Description

Nixpkgs version
  • Unstable (26.05)
Describe the bug

no icon, see screenshot

Steps to reproduce

add to system. open kde plasma

Expected behaviour

icon

Screenshots
Image
Relevant log output

Additional context

the package is not directly added to the system. I applied wrapper for nvidia gpu offloading: (cleanPkg (offloadPkg bombsquad))

  osConfig = config;
  cleanPkg = wrapPkg "clean" "--inherit-argv0 --unset LD_PRELOAD";
  wrapPkg =
    suffix: args: pkg:
    pkgs.symlinkJoin (
      lib.filterAttrs (_: v: v != null) {
        pname = pkg.pname or null;
        version = pkg.version or null;
        meta = lib.filterAttrs (_: v: v != null) {
          priority = pkg.meta.priority or null;
          mainProgram = pkg.meta.mainProgram or null;
        };
        name = "${pkg.name}-${suffix}";
        paths = [ pkg ];
        nativeBuildInputs = [ pkgs.makeBinaryWrapper ];
        postBuild = ''
          for program in "${pkg}/bin/"*; do
            if [[ -f "$program" && -x "$program" ]]; then
              rm "$out/bin/$(basename "$program")"
              makeWrapper "$program" "$out/bin/$(basename "$program")" ${
                builtins.replaceStrings [ "\n" ] [ " " ] args
              }
            fi
          done
          if [ -d "$out/share/dbus-1/services" ]; then
            rm -fr "$out/share/dbus-1/services"/*
            cp --force --dereference --recursive "${pkg}/share/dbus-1/services/"* "$out/share/dbus-1/services/"
            substituteInPlace $out/share/dbus-1/services/*.service \
              --replace ${pkg}/bin $out/bin
          fi
        '';
      }
    );
  offloadPkg =
    pkg:
    if (!(osConfig.hardware.nvidia.enabled && osConfig.hardware.nvidia.prime.offload.enable)) then
      pkg
    else
      wrapPkg "offloaded" ''
        --inherit-argv0 
        --set __NV_PRIME_RENDER_OFFLOAD 1 
        --set __NV_PRIME_RENDER_OFFLOAD_PROVIDER NVIDIA-G0 
        --set __GLX_VENDOR_LIBRARY_NAME nvidia 
        --set __VK_LAYER_NV_optimus NVIDIA_only'' pkg;
System metadata
  • system: "x86_64-linux"
  • host os: Linux 6.18.9-cachyos, NixOS, 26.05 (Yarara), 26.05.20260208.d6c7193
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Lix, like Nix) 2.93.3 System type: x86_64-linux Additional system types: i686-linux, x86_64-v1-linux, x86_64-v2-linux, x86_64-v3-linux, x86_64-v4-linux Features: gc, signed-caches System configuration file: /etc/nix/nix.conf User configuration files: /home/user/.config/nix/nix.conf:/home/user/.config/kdedefaults/nix/nix.conf:/nix/store/m2v8rrpxs9j5c0bqkd4hjrjnz6rmkfry-plasma-workspace-6.5.5/etc/xdg/nix/nix.conf:/nix/store/iy6ydn582qgi9zqadqlijci1airab53y-kglobalacceld-6.5.5/etc/xdg/nix/nix.conf:/nix/store/v4kjll23g0pwrd5jhgd7j4018scg44v1-baloo-6.22.0/etc/xdg/nix/nix.conf:/home/user/.config/kdedefaults/nix/nix.conf:/etc/xdg/nix/nix.conf:/home/user/.local/share/flatpak/exports/etc/xdg/nix/nix.conf:/var/lib/flatpak/exports/etc/xdg/nix/nix.conf:/home/user/.nix-profile/etc/xdg/nix/nix.conf:/nix/profile/etc/xdg/nix/nix.conf:/home/user/.local/state/nix/profile/etc/xdg/nix/nix.conf:/etc/profiles/per-user/user/etc/xdg/nix/nix.conf:/nix/var/nix/profiles/default/etc/xdg/nix/nix.conf:/run/current-system/sw/etc/xdg/nix/nix.conf Store directory: /nix/store State directory: /nix/var/nix Data directory: /nix/store/ns9ird7j1kbvjlz2fv2xsrkk8n9y0dsi-lix-2.93.3/share
  • nixpkgs: /nix/store/gnf2ayqhb31qvgh1s9mg3aqaj9378cg7-source
Notify maintainers

@SyedAhkam @coffeeispower


Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

I assert that this issue is relevant for Nixpkgs
Is this issue important to you?

Add a 👍 reaction to issues you find important.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No package file or test is named. Start by locating the bombsquad package definition and checking how its desktop entry and icon metadata are installed; reproduce the package in KDE Plasma without the custom wrapper. Done means the installed bombsquad application displays an icon in the launcher.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.