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

[BUG] nix not working on non nix distros #1626

Open
1 task done
sjhaleprogrammer opened this issue Mar 19, 2025 · 6 comments
Open
1 task done

[BUG] nix not working on non nix distros #1626

sjhaleprogrammer opened this issue Mar 19, 2025 · 6 comments
Labels
bug Something isn't working

Comments

@sjhaleprogrammer
Copy link

Read the FAQ first

  • I have checked the FAQ but the issue is not covered

Description

no nix package info

Version used

fastfetch 2.38.0-debug

Bug prevalence

Always

Regression

Not sure

Installation

Package manager

Package manager

xbps

Screenshots

Image

Configuration

System information

samuel@void:~$ fastfetch -c all.jsonc --stat --format json
[
  {
    "type": "Title",
    "result": {
      "userName": "samuel",
      "hostName": "void",
      "homeDir": "/home/samuel/",
      "exePath": "/usr/bin/fastfetch",
      "userShell": "/bin/bash"
    },
    "stat": 0.001833997666835785
  },
  {
    "type": "Separator",
    "error": "Unsupported for JSON format",
    "stat": 0.0002800002694129944
  },
  {
    "type": "OS",
    "result": {
      "buildID": "",
      "codename": "",
      "id": "void",
      "idLike": "",
      "name": "Void",
      "prettyName": "Void Linux",
      "variant": "",
      "variantID": "",
      "version": "",
      "versionID": ""
    },
    "stat": 0.029775001108646393
  },
  {
    "type": "Host",
    "result": {
      "family": "ROG Flow X13",
      "name": "ROG Flow X13 GV302XI_GV302XI",
      "version": "1.0",
      "sku": "",
      "vendor": "ASUSTeK COMPUTER INC.",
      "serial": "",
      "uuid": ""
    },
    "stat": 0.09340199828147888
  },
  {
    "type": "Bios",
    "result": {
      "date": "09/02/2024",
      "release": "5.29",
      "vendor": "American Megatrends International, LLC.",
      "version": "GV302XI.318",
      "type": "UEFI"
    },
    "stat": 0.049730997532606125
  },
  {
    "type": "Bootmgr",
    "result": {
      "name": "void_grub",
      "firmware": "\\EFI\\void_grub\\grubx64.efi",
      "secureBoot": false
    },
    "stat": 0.3828920014202595
  },
  {
    "type": "Board",
    "result": {
      "name": "GV302XI",
      "vendor": "ASUSTeK COMPUTER INC.",
      "version": "1.0",
      "serial": ""
    },
    "stat": 0.036097001284360886
  },
  {
    "type": "Chassis",
    "result": {
      "type": "Convertible",
      "vendor": "ASUSTeK COMPUTER INC.",
      "version": "1.0",
      "serial": ""
    },
    "stat": 0.03546500205993652
  },
  {
    "type": "Kernel",
    "result": {
      "architecture": "x86_64",
      "name": "Linux",
      "release": "6.12.19_1",
      "version": "#1 SMP PREEMPT_DYNAMIC Mon Mar 17 01:10:27 UTC 2025",
      "displayVersion": "",
      "pageSize": 4096
    },
    "stat": 0.0009009987115859985
  },
  {
    "type": "InitSystem",
    "result": {
      "name": "runit",
      "exe": "runit",
      "version": "",
      "pid": 1
    },
    "stat": 0.021678999066352844
  },
  {
    "type": "Uptime",
    "result": {
      "uptime": 17769120,
      "bootTime": "2025-03-18T16:39:22.966-0400"
    },
    "stat": 0.026138000190258026
  },
  {
    "type": "Loadavg",
    "result": [
      0.29,
      0.95,
      1.47
    ],
    "stat": 0.009066998958587646
  },
  {
    "type": "Processes",
    "result": 492,
    "stat": 0.8873479999601841
  },
  {
    "type": "Packages",
    "result": {
      "all": 823,
      "amSystem": 0,
      "amUser": 0,
      "apk": 0,
      "brew": 0,
      "brewCask": 0,
      "choco": 0,
      "dpkg": 0,
      "emerge": 0,
      "eopkg": 0,
      "flatpakSystem": 16,
      "flatpakUser": 0,
      "guixSystem": 0,
      "guixUser": 0,
      "guixHome": 0,
      "hpkgSystem": 0,
      "hpkgUser": 0,
      "linglong": 0,
      "mport": 0,
      "nixDefault": 0,
      "nixSystem": 0,
      "nixUser": 0,
      "opkg": 0,
      "pacman": 0,
      "pacstall": 0,
      "paludis": 0,
      "pisi": 0,
      "pkg": 0,
      "pkgtool": 0,
      "pkgsrc": 0,
      "qi": 0,
      "macports": 0,
      "rpm": 0,
      "scoop": 0,
      "snap": 0,
      "sorcery": 0,
      "winget": 0,
      "xbps": 807,
      "pacmanBranch": ""
    },
    "stat": 2.482395000755787
  },
  {
    "type": "Shell",
    "result": {
      "exe": "/bin/bash",
      "exeName": "bash",
      "exePath": "/usr/bin/bash",
      "pid": 7505,
      "ppid": 7503,
      "processName": "bash",
      "prettyName": "bash",
      "version": "5.2.32",
      "tty": 0
    },
    "stat": 1.6969630010426044
  },
  {
    "type": "Editor",
    "error": "$VISUAL or $EDITOR not set",
    "stat": 0.0026150010526180267
  },
  {
    "type": "Display",
    "result": [
      {
        "id": 211213632613,
        "name": "TMX0001",
        "primary": false,
        "output": {
          "width": 2560,
          "height": 1600,
          "refreshRate": 165.0
        },
        "scaled": {
          "width": 2560,
          "height": 1600
        },
        "preferred": {
          "width": 2560,
          "height": 1600,
          "refreshRate": 165.0
        },
        "physical": {
          "width": 290,
          "height": 180
        },
        "rotation": 180,
        "bitDepth": 0,
        "hdrStatus": "Unsupported",
        "type": "Builtin",
        "manufactureDate": {
          "year": 2022,
          "week": 18
        },
        "serial": null,
        "platformApi": "wayland-global"
      },
      {
        "id": 841830468,
        "name": "VG27A",
        "primary": true,
        "output": {
          "width": 2560,
          "height": 1440,
          "refreshRate": 164.999
        },
        "scaled": {
          "width": 2560,
          "height": 1440
        },
        "preferred": {
          "width": 0,
          "height": 0,
          "refreshRate": 0.0
        },
        "physical": {
          "width": 600,
          "height": 340
        },
        "rotation": 0,
        "bitDepth": 0,
        "hdrStatus": "Unsupported",
        "type": "External",
        "manufactureDate": {
          "year": 2022,
          "week": 35
        },
        "serial": 16843009,
        "platformApi": "wayland-global"
      }
    ],
    "stat": 0.8771289996802807
  },
  {
    "type": "Brightness",
    "result": [
      {
        "name": "nvidia_wmi_ec_backlight",
        "max": 255.0,
        "min": 0.0,
        "current": 88.0,
        "builtin": true
      }
    ],
    "stat": 0.2650360018014908
  },
  {
    "type": "Monitor",
    "error": "Monitor module is an alias of Display module",
    "stat": 0.0007720030844211578
  },
  {
    "type": "LM",
    "result": {
      "service": "gdm-password",
      "type": "Wayland",
      "version": "47.0"
    },
    "stat": 4.141617998480797
  },
  {
    "type": "DE",
    "result": {
      "processName": "gnome-shell",
      "prettyName": "GNOME",
      "version": "47.4"
    },
    "stat": 2.7318319976329803
  },
  {
    "type": "WM",
    "result": {
      "processName": "gnome-shell",
      "prettyName": "Mutter",
      "protocolName": "Wayland",
      "pluginName": "",
      "version": ""
    },
    "stat": 0.0044789984822273254
  },
  {
    "type": "WMTheme",
    "result": "Adwaita-dark",
    "stat": 2.7224740013480186
  },
  {
    "type": "Theme",
    "result": {
      "theme1": "",
      "theme2": "Adwaita-dark [GTK2/3/4]"
    },
    "stat": 0.00306599959731102
  },
  {
    "type": "Icons",
    "result": {
      "icons1": "",
      "icons2": "Adwaita [GTK2/3/4]"
    },
    "stat": 0.0007309988141059875
  },
  {
    "type": "Font",
    "result": {
      "display": "Cantarell (11pt) [GTK2/3/4]",
      "fonts": [
        "",
        "Cantarell (11pt)",
        "Cantarell (11pt)",
        "Cantarell (11pt)"
      ]
    },
    "stat": 0.0051099993288517
  },
  {
    "type": "Cursor",
    "result": {
      "theme": "Adwaita",
      "size": "24"
    },
    "stat": 0.0013319998979568481
  },
  {
    "type": "Wallpaper",
    "result": "/home/samuel/.config/background",
    "stat": 0.0006409995257854462
  },
  {
    "type": "Terminal",
    "result": {
      "processName": "ghostty",
      "exe": "/usr/bin/ghostty",
      "exeName": "ghostty",
      "exePath": "/usr/bin/ghostty",
      "pid": 7443,
      "ppid": 1624,
      "prettyName": "ghostty",
      "version": "1.1.2",
      "tty": "/dev/pts/0"
    },
    "stat": 0.07956599816679955
  },
  {
    "type": "TerminalFont",
    "result": {
      "font": {
        "name": "JetBrainsMono Nerd Font",
        "size": "13",
        "styles": [],
        "pretty": "JetBrainsMono Nerd Font (13pt)"
      },
      "fallback": {
        "name": "",
        "size": "",
        "styles": [],
        "pretty": ""
      }
    },
    "stat": 0.015769001096487045
  },
  {
    "type": "TerminalSize",
    "result": {
      "columns": 116,
      "rows": 34,
      "width": 1167,
      "height": 751
    },
    "stat": 0.0016740001738071442
  },
  {
    "type": "TerminalTheme",
    "result": {
      "fg": {
        "r": 230,
        "g": 225,
        "b": 220,
        "dark": false
      },
      "bg": {
        "r": 43,
        "g": 43,
        "b": 43,
        "dark": true
      }
    },
    "stat": 0.22471199929714203
  },
  {
    "type": "CPU",
    "result": {
      "cpu": "AMD Ryzen 9 7940HS",
      "vendor": "AuthenticAMD",
      "packages": 1,
      "cores": {
        "physical": 8,
        "logical": 16,
        "online": 16
      },
      "frequency": {
        "base": 1097,
        "max": 5263
      },
      "coreTypes": [
        {
          "count": 16,
          "freq": 5263
        }
      ],
      "temperature": 39.625
    },
    "stat": 21.26452200114727
  },
  {
    "type": "CPUCache",
    "result": {
      "l1": [
        {
          "size": 32768,
          "num": 8,
          "lineSize": 64,
          "type": "data"
        },
        {
          "size": 32768,
          "num": 8,
          "lineSize": 64,
          "type": "instruction"
        }
      ],
      "l2": [
        {
          "size": 1048576,
          "num": 8,
          "lineSize": 64,
          "type": "unified"
        }
      ],
      "l3": [
        {
          "size": 16777216,
          "num": 1,
          "lineSize": 64,
          "type": "unified"
        }
      ]
    },
    "stat": 2.819673001766205
  },
  {
    "type": "CPUUsage",
    "result": [
      0.0,
      0.0,
      0.0,
      4.761904761904762,
      5.0,
      0.0,
      0.0,
      0.0,
      0.0,
      0.0,
      0.0,
      4.761904761904762,
      0.0,
      0.0,
      0.0,
      0.0
    ],
    "stat": 200.21411899849772
  },
  {
    "type": "GPU",
    "result": [
      {
        "index": 0,
        "coreCount": 4608,
        "coreUsage": 0.0,
        "memory": {
          "dedicated": {
            "total": 8196259840,
            "used": 473890816
          },
          "shared": {
            "total": null,
            "used": null
          }
        },
        "driver": "nvidia (proprietary) 570.124.04",
        "name": "NVIDIA GeForce RTX 4070 Laptop GPU",
        "temperature": 40.0,
        "type": "Discrete",
        "vendor": "NVIDIA",
        "platformApi": "DRM (card1)",
        "frequency": 3105,
        "deviceId": 1000
      },
      {
        "index": null,
        "coreCount": 12,
        "coreUsage": 1.0,
        "memory": {
          "dedicated": {
            "total": null,
            "used": null
          },
          "shared": {
            "total": 429699072,
            "used": 492142592
          }
        },
        "driver": "amdgpu 3.61",
        "name": "AMD Radeon 780M",
        "temperature": 38.0,
        "type": "Integrated",
        "vendor": "AMD",
        "platformApi": "DRM (card0)",
        "frequency": 2799,
        "deviceId": 105000
      }
    ],
    "stat": 48.4941460005939
  },
  {
    "type": "Memory",
    "result": {
      "total": 32812933120,
      "used": 12452487168
    },
    "stat": 0.015898998826742172
  },
  {
    "type": "PhysicalMemory",
    "error": "Failed to get SMBIOS data",
    "stat": 0.018463999032974243
  },
  {
    "type": "Swap",
    "result": {
      "total": 34359734272,
      "used": 0
    },
    "stat": 0.00850600004196167
  },
  {
    "type": "Disk",
    "result": [
      {
        "bytes": {
          "available": 894498340864,
          "free": 944002293760,
          "total": 973054095360,
          "used": 29051801600
        },
        "files": {
          "total": 60416000,
          "used": 502998
        },
        "filesystem": "ext4",
        "mountpoint": "/",
        "mountFrom": "/dev/nvme0n1p3",
        "name": "",
        "volumeType": [
          "Regular"
        ],
        "createTime": "2025-03-13T12:49:59.000-0400"
      },
      {
        "bytes": {
          "available": 103082496,
          "free": 103082496,
          "total": 103227392,
          "used": 144896
        },
        "files": {
          "total": null,
          "used": null
        },
        "filesystem": "vfat",
        "mountpoint": "/boot/efi",
        "mountFrom": "/dev/nvme0n1p1",
        "name": "",
        "volumeType": [
          "Hidden"
        ],
        "createTime": null
      }
    ],
    "stat": 0.11530100181698799
  },
  {
    "type": "Btrfs",
    "result": [],
    "stat": 0.008845999836921692
  },
  {
    "type": "Zpool",
    "error": "dlopen libzfs.so failed",
    "stat": 0.11501099914312363
  },
  {
    "type": "Battery",
    "result": [
      {
        "capacity": 61.0,
        "manufacturer": "ASUSTeK",
        "manufactureDate": "",
        "modelName": "ASUS Battery",
        "status": "AC Connected",
        "technology": "Li-ion",
        "serial": "",
        "temperature": null,
        "cycleCount": 0
      }
    ],
    "stat": 2.001892000436783
  },
  {
    "type": "PowerAdapter",
    "result": [],
    "stat": 0.10512300208210945
  },
  {
    "type": "Player",
    "error": "Player module is an alias of Media module",
    "stat": 0.00031099840998649597
  },
  {
    "type": "Media",
    "result": {
      "song": {
        "name": "Ubuntu Will Replace GNU Core Utilities With Rust",
        "artist": "Mental Outlaw",
        "album": "",
        "status": "Paused"
      },
      "player": {
        "name": "Mozilla Firefox",
        "id": "firefox.instance_1_110",
        "url": "https://www.youtube.com/watch?v=N2dbyFddcIs"
      }
    },
    "stat": 1.8557539992034435
  },
  {
    "type": "PublicIp",
    "result": {
      
    },
    "stat": 0.0651089996099472
  },
  {
    "type": "LocalIp",
    "result": [
      {
        "name": "enp107s0f4u1u1",
        
      }
    ],
    "stat": 0.36904699727892876
  },
  {
    "type": "DNS",
    "result": [
      "104.222.20.6",
      "104.222.31.6",
      "104.222.16.6"
    ],
    "stat": 0.014566998928785324
  },
  {
    "type": "Wifi",
    "result": [
      {
        "inf": {
          "description": "wlp6s0",
          "status": "down"
        },
        "conn": {
          "status": "",
          "ssid": "",
          "bssid": "",
          "protocol": "",
          "security": "",
          "signalQuality": null,
          "rxRate": null,
          "txRate": null,
          "channel": 0,
          "frequency": 0
        }
      }
    ],
    "stat": 0.11354799941182137
  },
  {
    "type": "DateTime",
    "result": "2025-03-18T21:35:32.380-0400",
    "stat": 0.00702199712395668
  },
  {
    "type": "Locale",
    "result": "en_US.UTF-8",
    "stat": 0.005459997802972794
  },
  {
    "type": "Vulkan",
    "result": {
      "apiVersion": "1.4.303",
      "conformanceVersion": "1.4",
      "driver": "NVIDIA [570.124.04]",
      "gpus": [
        {
          "type": "Discrete",
          "vendor": "NVIDIA",
          "name": "NVIDIA GeForce RTX 4070 Laptop GPU",
          "driver": "570.124.04",
          "platformApi": "Vulkan 1.4.303",
          "deviceId": 10336,
          "memory": {
            "dedicated": {
              "total": 8585740288,
              "used": null
            },
            "shared": {
              "total": 24609699840,
              "used": null
            }
          },
          "deviceId": 10336
        }
      ]
    },
    "stat": 60.32957899942994
  },
  {
    "type": "OpenGL",
    "result": {
      "version": "4.6.0 NVIDIA 570.124.04",
      "renderer": "NVIDIA GeForce RTX 4070 Laptop GPU/PCIe/SSE2",
      "vendor": "NVIDIA Corporation",
      "slv": "4.60 NVIDIA",
      "library": "EGL 1.5"
    },
    "stat": 117.24864299967885
  },
  {
    "type": "OpenCL",
    "error": "clGetPlatformIDs() failed: CL_PLATFORM_NOT_FOUND_KHR",
    "stat": 0.12719400227069855
  },
  {
    "type": "Users",
    "result": [
      {
        "name": "samuel",
        "hostName": "login screen",
        "sessionName": "seat0",
        "clientIp": "0.0.0.0",
        "loginTime": "2025-03-18T16:39:39.172-0400"
      }
    ],
    "stat": 0.0603100024163723
  },
  {
    "type": "Bluetooth",
    "result": [],
    "stat": 0.011050999164581299
  },
  {
    "type": "BluetoothRadio",
    "result": [
      {
       
        "lmpSubversion": null,
        "vendor": "Unknown",
        "enabled": true,
        "discoverable": false,
        "connectable": false
      }
    ],
    "stat": 0.6605409979820251
  },
  {
    "type": "Sound",
    "result": [
      {
        "active": true,
        "main": false,
        "volume": 40,
        "name": "Family 17h/19h HD Audio Controller Analog Stereo",
        "identifier": "alsa_output.pci-0000_69_00.6.analog-stereo",
        "platformApi": "pulseaudio 16.1"
      },
      {
        "active": true,
        "main": true,
        "volume": 99,
        "name": "C-Media USB Audio Device    Digital Stereo (IEC958)",
        "identifier": "alsa_output.usb-0d8c_C-Media_USB_Audio_Device-00.iec958-stereo",
        "platformApi": "pulseaudio 16.1"
      },
      {
        "active": true,
        "main": false,
        "volume": 100,
        "name": "HD-Audio Generic Digital Stereo (HDMI)",
        "identifier": "alsa_output.pci-0000_69_00.1.hdmi-stereo",
        "platformApi": "pulseaudio 16.1"
      }
    ],
    "stat": 1.8111019991338253
  },
  {
    "type": "Camera",
    "result": [
      {
        "name": "USB2.0 FHD UVC WebCam: USB2.0 F",
        "vendor": "",
        "colorSpace": "sRGB",
        "id": "usb-0000:69:00.4-1",
        "width": 1920,
        "height": 1080
      },
      {
        "name": "USB2.0 FHD UVC WebCam: USB2.0 I",
        "vendor": "",
        "colorSpace": "sRGB",
        "id": "usb-0000:69:00.4-1",
        "width": 640,
        "height": 360
      }
    ],
    "stat": 0.21157800033688545
  },
  {
    "type": "Gamepad",
    "result": [],
    "stat": 0.03424300253391266
  },
  {
    "type": "Mouse",
    "result": [
      {
        "serial": "",
        "name": "ELAN9008:00 04F3:40FD Stylus"
      },
      {
        "serial": "",
        "name": "ASUF1204:00 2808:0201 Touchpad"
      },
      {
        "serial": "51-8c-ff-4b",
        "name": "Logitech G Pro"
      },
      {
        "serial": "",
        "name": "Asus Keyboard"
      },
      {
        "serial": "",
        "name": "ELAN9008:00 04F3:40FD"
      },
      {
        "serial": "",
        "name": "ASUF1204:00 2808:0201 Mouse"
      },
      {
        "serial": "",
        "name": "Razer Razer BlackWidow Tournament Edition Chroma"
      }
    ],
    "stat": 0.20634900033473969
  },
  {
    "type": "Keyboard",
    "result": [
      {
        "serial": "",
        "name": "Razer Razer BlackWidow Tournament Edition Chroma"
      },
      {
        "serial": "",
        "name": "Razer Razer BlackWidow Tournament Edition Chroma Keyboard"
      }
    ],
    "stat": 0.07011900097131729
  },
  {
    "type": "Weather",
    "result": "+75°F - Sunny (Boca Raton, Florida, United States)",
    "stat": 0.043949998915195465
  },
  {
    "type": "NetIO",
    "result": [
      {
        "name": "enp107s0f4u1u1",
        "defaultRoute": true,
        "txBytes": 1124,
        "rxBytes": 1584,
        "txPackets": 15,
        "rxPackets": 12,
        "rxErrors": 0,
        "txErrors": 0,
        "rxDrops": 0,
        "txDrops": 0
      }
    ],
    "stat": 524.4571110010147
  },
  {
    "type": "DiskIO",
    "result": [
      {
        "name": "Micron_2400_MTFDKBK1T0QFM",
        "devPath": "/dev/nvme0n1",
        "bytesRead": 2179072,
        "bytesWritten": 8192,
        "readCount": 20,
        "writeCount": 2
      }
    ],
    "stat": 0.24525000154972076
  },
  {
    "type": "PhysicalDisk",
    "result": [
      {
        "name": "Micron_2400_MTFDKBK1T0QFM",
        "devPath": "/dev/nvme0n1",
        "interconnect": "NVMe",
        "kind": "SSD",
        "size": 1024209543168,
        "serial": "22483CFD04F5",
        "removable": false,
        "readOnly": false,
        "revision": "V3MA005",
        "temperature": 28.85
      }
    ],
    "stat": 3.6736189983785152
  },
  {
    "type": "TPM",
    "result": {
      "version": "2.0",
      "description": "TPM 2.0 Device"
    },
    "stat": 0.21507399901747704
  },
  {
    "type": "Version",
    "result": {
      "projectName": "fastfetch",
      "sysName": "Linux",
      "architecture": "x86_64",
      "version": "2.38.0",
      "versionGit": "",
      "cmakeBuiltType": "None",
      "compileTime": "Mar  6 2025, 20:42:30",
      "compiler": "gcc 13.2.0",
      "debugMode": true,
      "libc": "glibc 2.39"
    },
    "stat": 0.0016530007123947144
  },
  {
    "type": "Break",
    "error": "Unsupported for JSON format",
    "stat": 0.001583002507686615
  },
  {
    "type": "Colors",
    "error": "Unsupported for JSON format",
    "stat": 0.0005510002374649048
  }
]

Features built-in

samuel@void:~$ fastfetch --list-features
threads
vulkan
wayland
xcb-randr
xrandr
drm
drm_amdgpu
gio
dconf
dbus
imagemagick7
chafa
zlib
xfconf
egl
glx
osmesa
opencl
libpulse
libddcutil
libelf
libzfs
System yyjson
linux/videodev2
linux/wireless
@sjhaleprogrammer sjhaleprogrammer added the bug Something isn't working label Mar 19, 2025
@CarterLi
Copy link
Member

I added some verbose logs for debugging. Please download https://nightly.link/CarterLi/fastfetch/actions/runs/13940122817/fastfetch-linux-amd64.zip, run it with fastfetch -s packages -l none --debug.

@sjhaleprogrammer
Copy link
Author

sjhaleprogrammer commented Mar 19, 2025

samuel@void:~/Downloads/fastfetch-linux-amd64/usr/bin$ ./fastfetch -s packages -l none --debug
[packages_linux.c 610, 12:06:43.106] Starting Nix package detection
[packages_linux.c 330, 12:06:43.106] Checking Nix packages in: /nix/var/nix/profiles/default
[packages_linux.c 232, 12:06:43.106] Nix directory does not exist: /nix/var/nix/profiles/default
[packages_linux.c 333, 12:06:43.106] Found 0 Nix packages in /nix/var/nix/profiles/default
[packages_linux.c 330, 12:06:43.106] Checking Nix packages in: /run/current-system
[packages_linux.c 232, 12:06:43.106] Nix directory does not exist: /run/current-system
[packages_linux.c 333, 12:06:43.106] Found 0 Nix packages in /run/current-system
[packages_linux.c 710, 12:06:43.110] Checking for user Nix packages
[packages_linux.c 733, 12:06:43.110] Using default state directory for Nix profile: /home/samuel/.local/state/
[packages_linux.c 738, 12:06:43.110] Checking for Nix profile at: /home/samuel/.local/state/nix/profile
[packages_linux.c 330, 12:06:43.110] Checking Nix packages in: /home/samuel/.local/state/nix/profile
[packages_linux.c 232, 12:06:43.110] Nix directory does not exist: /home/samuel/.local/state/nix/profile
[packages_linux.c 333, 12:06:43.110] Found 0 Nix packages in nix/profile
[packages_linux.c 740, 12:06:43.110] Total Nix user packages: 0
Packages: 807 (xbps), 16 (flatpak) 

thats strange

@CarterLi
Copy link
Member

I'm sure that the nix package detection code works for NixOS. Not sure about nix on other distros

@sjhaleprogrammer
Copy link
Author

I think so I thought my nix install was fucked up

@sjhaleprogrammer sjhaleprogrammer changed the title [BUG] not detecting nix packages [BUG] nix not working on non nix distros Mar 19, 2025
@CarterLi
Copy link
Member

Just tested nix installation on voidlinux. /nix/var/nix/profiles/default didn't exist but /nix/var/nix/profiles/per-user/$USER did.

I'm too stupid to make nix environment work but I will leave it to nix experts. @xoltia Do you have any idea?

@sjhaleprogrammer
Copy link
Author

sjhaleprogrammer commented Mar 20, 2025

ls /nix/store | grep -E '^[a-z0-9]{32}-' | wc -l
idk if this matches a nix installation

np hard problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants