Can't install spotify with nix packages

i’m new to nixpckgs but my first attemp to install anything was spotify
i ran ino issues related with unfree software and i fixed it
so when i try to install with
nix-env -iA nixpkgs.spotify

this what i got

error: builder for ‘/nix/store/00yzgmb8imb6k08zwn3rn8f9vs02ji8z-pOBIoZ2LrCB3rDohMxoYGnbN14EHOgD7_67.snap.drv’ failed with exit code 127;
last 3 log lines:
> /nix/store/57620l1168piiia2bmmsxxhh7sjb2n40-builder.sh: line 6: curl: command not found
> /nix/store/57620l1168piiia2bmmsxxhh7sjb2n40-builder.sh: line 6: head: command not found
> /nix/store/57620l1168piiia2bmmsxxhh7sjb2n40-builder.sh: line 6: cut: command not found
For full logs, run ‘nix-store -l /nix/store/00yzgmb8imb6k08zwn3rn8f9vs02ji8z-pOBIoZ2LrCB3rDohMxoYGnbN14EHOgD7_67.snap.drv’.
error: 1 dependencies of derivation ‘/nix/store/nc6if84c16kx4cpc6plgmk93xw3077zn-spotify-1.2.11.916.geb595a67.drv’ failed to build

how i can solve this issue?

Very strange. I’m not sure why the builder tries to run, Nix should substitute the binary from the cache.
Even weirder, it seems to fail because it’s missing some basic utilities, which should never happen.

Total shot in the dark, but you could try nix-store --verify --check-contents --repair and then try again.

Could you run that suggested command and post the output?
Also, what platform are you on?

Could you also run these three commands

cat ~/.nix-defexpr/channels/manifest.nix
nix derivation show /nix/store/00yzgmb8imb6k08zwn3rn8f9vs02ji8z-pOBIoZ2LrCB3rDohMxoYGnbN14EHOgD7_67.snap.drv
nix derivation show /nix/store/nc6if84c16kx4cpc6plgmk93xw3077zn-spotify-1.2.11.916.geb595a67.drv

and post the output of those as well?

1 Like

yes this command fixed it :

nix-store --verify --check-contents --repair

for thoese command this output

cat ~/.nix-defexpr/channels/manifest.nix
cat: /home/adam/.nix-defexpr/channels/manifest.nix: No such file or directory
nix derivation show /nix/store/00yzgmb8imb6k08zwn3rn8f9vs02ji8z-pOBIoZ2LrCB3rDohMxoYGnbN14EHOgD7_67.snap.drv

warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '/nix/store/00yzgmb8imb6k08zwn3rn8f9vs02ji8z-pOBIoZ2LrCB3rDohMxoYGnbN14EHOgD7_67.snap.drv^*'
{
  "/nix/store/00yzgmb8imb6k08zwn3rn8f9vs02ji8z-pOBIoZ2LrCB3rDohMxoYGnbN14EHOgD7_67.snap.drv": {
    "args": [
      "-e",
      "/nix/store/57620l1168piiia2bmmsxxhh7sjb2n40-builder.sh"
    ],
    "builder": "/nix/store/a7f7xfp9wyghf44yv6l6fv9dfw492hd3-bash-5.2-p15/bin/bash",
    "env": {
      "SSL_CERT_FILE": "/no-cert-file.crt",
      "__structuredAttrs": "",
      "buildInputs": "",
      "builder": "/nix/store/a7f7xfp9wyghf44yv6l6fv9dfw492hd3-bash-5.2-p15/bin/bash",
      "cmakeFlags": "",
      "configureFlags": "",
      "curlOpts": "",
      "curlOptsList": "",
      "depsBuildBuild": "",
      "depsBuildBuildPropagated": "",
      "depsBuildTarget": "",
      "depsBuildTargetPropagated": "",
      "depsHostHost": "",
      "depsHostHostPropagated": "",
      "depsTargetTarget": "",
      "depsTargetTargetPropagated": "",
      "doCheck": "",
      "doInstallCheck": "",
      "downloadToTemp": "",
      "executable": "",
      "impureEnvVars": "http_proxy https_proxy ftp_proxy all_proxy no_proxy NIX_CURL_FLAGS NIX_HASHED_MIRRORS NIX_CONNECT_TIMEOUT NIX_MIRRORS_alsa NIX_MIRRORS_apache NIX_MIRRORS_bioc NIX_MIRRORS_bitlbee NIX_MIRRORS_centos NIX_MIRRORS_cpan NIX_MIRRORS_cran NIX_MIRRORS_debian NIX_MIRRORS_fedora NIX_MIRRORS_gcc NIX_MIRRORS_gentoo NIX_MIRRORS_gnome NIX_MIRRORS_gnu NIX_MIRRORS_gnupg NIX_MIRRORS_hackage NIX_MIRRORS_hashedMirrors NIX_MIRRORS_ibiblioPubLinux NIX_MIRRORS_imagemagick NIX_MIRRORS_kde NIX_MIRRORS_kernel NIX_MIRRORS_luarocks NIX_MIRRORS_maven NIX_MIRRORS_mozilla NIX_MIRRORS_mysql NIX_MIRRORS_openbsd NIX_MIRRORS_opensuse NIX_MIRRORS_osdn NIX_MIRRORS_postgresql NIX_MIRRORS_pypi NIX_MIRRORS_qt NIX_MIRRORS_sageupstream NIX_MIRRORS_samba NIX_MIRRORS_savannah NIX_MIRRORS_sourceforge NIX_MIRRORS_steamrt NIX_MIRRORS_tcsh NIX_MIRRORS_testpypi NIX_MIRRORS_ubuntu NIX_MIRRORS_xfce NIX_MIRRORS_xorg",
      "mesonFlags": "",
      "mirrorsFile": "/nix/store/0z8p31841phw3pamxvj9vc6hqq347cpx-mirrors-list",
      "name": "pOBIoZ2LrCB3rDohMxoYGnbN14EHOgD7_67.snap",
      "nativeBuildInputs": "/nix/store/j04cw25ccfxf1i7dqx2a21k69n4miw4c-curl-8.1.1-dev",
      "nixpkgsVersion": "23.11",
      "out": "/nix/store/wwwizbipimjjx20kbn17067qiwd5z9rj-pOBIoZ2LrCB3rDohMxoYGnbN14EHOgD7_67.snap",
      "outputHash": "3d5a9fda88a076a22bb6d0b6b586334865f03a4e852ca8e022468e3dd3520a81dea314721e26e54ba9309603e08f66588f005ee8970e73eccbf805ff70e89dca",
      "outputHashAlgo": "sha512",
      "outputHashMode": "flat",
      "outputs": "out",
      "patches": "",
      "postFetch": "",
      "preferHashedMirrors": "1",
      "preferLocalBuild": "1",
      "propagatedBuildInputs": "",
      "propagatedNativeBuildInputs": "",
      "showURLs": "",
      "stdenv": "/nix/store/hf5zdjmd5gr5w519vd7driifnlm37rpw-stdenv-linux",
      "strictDeps": "",
      "system": "x86_64-linux",
      "urls": "https://api.snapcraft.io/api/v1/snaps/download/pOBIoZ2LrCB3rDohMxoYGnbN14EHOgD7_67.snap"
    },
    "inputDrvs": {
      "/nix/store/23qwassb36qdmcj33nmlrsnp0kmrn284-curl-8.1.1.drv": [
        "dev"
      ],
      "/nix/store/37nmj3b1ajq95g1lc1c1cmair39j5ksh-bash-5.2-p15.drv": [
        "out"
      ],
      "/nix/store/dqpf84fg6hrjrdaaqw36ki021xcmg31z-mirrors-list.drv": [
        "out"
      ],
      "/nix/store/vhcbfd0bklxdiaszs1z8yf9ainyj76wi-stdenv-linux.drv": [
        "out"
      ]
    },
    "inputSrcs": [
      "/nix/store/57620l1168piiia2bmmsxxhh7sjb2n40-builder.sh"
    ],
    "name": "pOBIoZ2LrCB3rDohMxoYGnbN14EHOgD7_67.snap",
    "outputs": {
      "out": {
        "hash": "3d5a9fda88a076a22bb6d0b6b586334865f03a4e852ca8e022468e3dd3520a81dea314721e26e54ba9309603e08f66588f005ee8970e73eccbf805ff70e89dca",
        "hashAlgo": "sha512",
        "path": "/nix/store/wwwizbipimjjx20kbn17067qiwd5z9rj-pOBIoZ2LrCB3rDohMxoYGnbN14EHOgD7_67.snap"
      }
    },
    "system": "x86_64-linux"
  }
}
nix derivation show /nix/store/nc6if84c16kx4cpc6plgmk93xw3077zn-spotify-1.2.11.916.geb595a67.drv

warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '/nix/store/nc6if84c16kx4cpc6plgmk93xw3077zn-spotify-1.2.11.916.geb595a67.drv^*'
{
  "/nix/store/nc6if84c16kx4cpc6plgmk93xw3077zn-spotify-1.2.11.916.geb595a67.drv": {
    "args": [
      "-e",
      "/nix/store/6xg259477c90a229xwmb53pdfkn6ig3g-default-builder.sh"
    ],
    "builder": "/nix/store/a7f7xfp9wyghf44yv6l6fv9dfw492hd3-bash-5.2-p15/bin/bash",
    "env": {
      "__structuredAttrs": "",
      "buildInputs": "",
      "builder": "/nix/store/a7f7xfp9wyghf44yv6l6fv9dfw492hd3-bash-5.2-p15/bin/bash",
      "cmakeFlags": "",
      "configureFlags": "",
      "depsBuildBuild": "",
      "depsBuildBuildPropagated": "",
      "depsBuildTarget": "",
      "depsBuildTargetPropagated": "",
      "depsHostHost": "",
      "depsHostHostPropagated": "",
      "depsTargetTarget": "",
      "depsTargetTargetPropagated": "",
      "doCheck": "",
      "doInstallCheck": "",
      "dontPatchELF": "1",
      "dontStrip": "1",
      "dontWrapGApps": "1",
      "installPhase": "runHook preInstall\n\nlibdir=$out/lib/spotify\nmkdir -p $libdir\nmv ./usr/* $out/\n\ncp meta/snap.yaml $out\n\n# Work around Spotify referring to a specific minor version of\n# OpenSSL.\n\nln -s /nix/store/ix7cb1isdcdl4gq9hl4pdk6gyc4wrk14-openssl-3.0.9/lib/libssl.so $libdir/libssl.so.1.0.0\nln -s /nix/store/ix7cb1isdcdl4gq9hl4pdk6gyc4wrk14-openssl-3.0.9/lib/libcrypto.so $libdir/libcrypto.so.1.0.0\nln -s /nix/store/7r2wyp15fd9zmr6dzaxwngh2y8c8lsyv-nspr-4.35/lib/libnspr4.so $libdir/libnspr4.so\nln -s /nix/store/7r2wyp15fd9zmr6dzaxwngh2y8c8lsyv-nspr-4.35/lib/libplc4.so $libdir/libplc4.so\n\nln -s /nix/store/r50xka6b3kxpa725l6g4psj3kdzmjcp2-ffmpeg-4.4.4-lib/lib/libavcodec.so* $libdir\nln -s /nix/store/r50xka6b3kxpa725l6g4psj3kdzmjcp2-ffmpeg-4.4.4-lib/lib/libavformat.so* $libdir\n\nrpath=\"$out/share/spotify:$libdir\"\n\npatchelf \\\n  --interpreter \"$(cat $NIX_CC/nix-support/dynamic-linker)\" \\\n  --set-rpath $rpath $out/share/spotify/spotify\n\nlibrarypath=\"/nix/store/qnf36msgsjh17sy9dakvqnvv7sgr8dfg-alsa-lib-1.2.9/lib:/nix/store/am6m3j7iwqrk3bpb50p3cadqgw54f418-at-spi2-core-2.48.3/lib:/nix/store/am6m3j7iwqrk3bpb50p3cadqgw54f418-at-spi2-core-2.48.3/lib:/nix/store/am6m3j7iwqrk3bpb50p3cadqgw54f418-at-spi2-core-2.48.3/lib:/nix/store/r4vas3x03yj2mpw2hkjb0dm4bj215jxz-cairo-1.16.0/lib:/nix/store/8891l75cdljn9srvqid2xf8qlhhi2d46-cups-2.4.6-lib/lib:/nix/store/kvns67qjf81bwznx7qaavyni30bpzvff-curl-8.1.1/lib:/nix/store/r2d8pywjjp2kwkrm3y40hw65hzn1x0pj-dbus-1.14.8-lib/lib:/nix/store/4m6pyb4lyp3kqm6nl4b9hklgrdiw1fd9-expat-2.5.0/lib:/nix/store/r50xka6b3kxpa725l6g4psj3kdzmjcp2-ffmpeg-4.4.4-lib/lib:/nix/store/ps2bpfxh6kg81cz99wfp56kz332ahixn-fontconfig-2.14.2-lib/lib:/nix/store/2a3sdz2dlw995hlgvj5chcsxk98qfwzp-freetype-2.13.0/lib:/nix/store/jqnz04081vrx2mf7d84r6sf996c0jzd6-gdk-pixbuf-2.42.10/lib:/nix/store/1635p7fbsqrqf6k5p449pwnp81y6hxlf-glib-2.76.3/lib:/nix/store/w4m1lk4bq4f60gf95hg2jhas3gdza532-gtk+3-3.24.38/lib:/nix/store/8mlkfj1kjs4g8psf77hs3m18060sizrp-harfbuzz-7.3.0/lib:/nix/store/p35p42kihzqwzg1cmaq0swm5k8p10hbj-libdrm-2.4.115/lib:/nix/store/qvjz9wwnhg107fpx1al3z3x8ml62775x-libgcrypt-1.10.2/lib:/nix/store/m7ax70f5wqphd9y8q42pmd0f0p1i0q9n-libnotify-0.8.2/lib:/nix/store/zgp6sjzmw8lk12i2g3mavhr50xpd5ldn-libpng-apng-1.6.39/lib:/nix/store/4pbp9pvsrvnjzj7df5ldvpnqz68kdxdj-libpulseaudio-16.1/lib:/nix/store/6d4pxxs6dlbq8dcb0dkhygr8222pqj24-libxkbcommon-1.5.0/lib:/nix/store/dzmay6jl5sqnbqn8bfmyirm3rdr3zpig-mesa-23.1.3/lib:/nix/store/3arlafscr45594bp9w0mq509yp30lj71-nss-3.91/lib:/nix/store/ry78c8br507d40wmhnp213b7y3mnk9x0-pango-1.50.14/lib:/nix/store/wrj1i7vfrw4997dzxsx8ky1z47xmnzp4-gcc-12.3.0-lib/lib:/nix/store/lhpz4ywr4dhbcxx688piqa7cv6vh15fd-systemd-253.5/lib:/nix/store/qsbqk2l79vxw73gpa1m82vcv41hpvb8k-libICE-1.1.1/lib:/nix/store/b5kq3h0c8l3vgilk1q0mfaq67ximjpzd-libSM-1.2.4/lib:/nix/store/igp21718s3sa932z7baqnhlc72v0zl0z-libX11-1.8.6/lib:/nix/store/dlkpd3zz9hy7lmh9r0l6zpcjk4z0xc54-libxcb-1.15/lib:/nix/store/zrfwm4w75wbv0k41zh56hqcp98hgsa2x-libXcomposite-0.4.6/lib:/nix/store/aca74lx9x7gks9ijh5qbkly18wh4ij8m-libXcursor-1.2.1/lib:/nix/store/gpnfryw3vgwk0bki68r6m1pxakvp6hsm-libXdamage-1.1.6/lib:/nix/store/4s3wrg560496dx3qx8gnvvjqz4hc9222-libXext-1.3.5/lib:/nix/store/6gfzi7i637la7g835wah4w890k4hsssz-libXfixes-6.0.1/lib:/nix/store/54rwsn2jq9y04rvvs4drfm95bdq9qdvb-libXi-1.8.1/lib:/nix/store/idi9sjc3i4ry7s1b4iw2q7vygvpmdrj6-libXrandr-1.5.3/lib:/nix/store/ax0kms7hb4r6p99rny4mg5bkggy5zhlr-libXrender-0.9.11/lib:/nix/store/g7lyngr5n5g7ssnp211l9k831q23qpr9-libXScrnSaver-1.2.4/lib:/nix/store/igfahdxjd7j7s3y1dqd5sass4wrvrim2-libxshmfence-1.3.2/lib:/nix/store/2wf34yxgsh5698zw3liaprh8050029qc-libXtst-1.2.4/lib:/nix/store/mgz7sp9jxnk7c3rn1hvich9n0k2rjr7m-zlib-1.2.13/lib:$libdir\"\nwrapProgramShell $out/share/spotify/spotify \\\n  ${gappsWrapperArgs[@]} \\\n   \\\n  --prefix LD_LIBRARY_PATH : \"$librarypath\" \\\n  --prefix PATH : \"/nix/store/4s6f5982x8aj09sz3w5ai70lpi4ss1ky-zenity-3.99.0/bin\" \\\n  --add-flags \"\\${NIXOS_OZONE_WL:+\\${WAYLAND_DISPLAY:+--enable-features=UseOzonePlatform --ozone-platform=wayland}}\"\n\n# fix Icon line in the desktop file (#48062)\nsed -i \"s:^Icon=.*:Icon=spotify-client:\" \"$out/share/spotify/spotify.desktop\"\n\n# Desktop file\nmkdir -p \"$out/share/applications/\"\ncp \"$out/share/spotify/spotify.desktop\" \"$out/share/applications/\"\n\n# Icons\nfor i in 16 22 24 32 48 64 128 256 512; do\n  ixi=\"$i\"x\"$i\"\n  mkdir -p \"$out/share/icons/hicolor/$ixi/apps\"\n  ln -s \"$out/share/spotify/icons/spotify-linux-$i.png\" \\\n    \"$out/share/icons/hicolor/$ixi/apps/spotify-client.png\"\ndone\n\nrunHook postInstall\n",
      "mesonFlags": "",
      "name": "spotify-1.2.11.916.geb595a67",
      "nativeBuildInputs": "/nix/store/liky4r54wsbx0rxjgyw87gxksx81haik-wrap-gapps-hook /nix/store/mxir736037h235h8j5aa4i0dpql2vm6v-make-shell-wrapper-hook /nix/store/g72229s6wf1nh1fyywq64ask0w60gskl-squashfs-4.6.1",
      "out": "/nix/store/xhygwnw9arlw2jw0jcnwxkn7q7va390c-spotify-1.2.11.916.geb595a67",
      "outputs": "out",
      "patches": "",
      "pname": "spotify",
      "propagatedBuildInputs": "",
      "propagatedNativeBuildInputs": "",
      "src": "/nix/store/wwwizbipimjjx20kbn17067qiwd5z9rj-pOBIoZ2LrCB3rDohMxoYGnbN14EHOgD7_67.snap",
      "stdenv": "/nix/store/fzb9wy1yz0hn69vxw12954szvrjnjjgk-stdenv-linux",
      "strictDeps": "",
      "system": "x86_64-linux",
      "unpackPhase": "runHook preUnpack\nunsquashfs \"$src\" '/usr/share/spotify' '/usr/bin/spotify' '/meta/snap.yaml'\ncd squashfs-root\nif ! grep -q 'grade: stable' meta/snap.yaml; then\n  # Unfortunately this check is not reliable: At the moment (2018-07-26) the\n  # latest version in the \"edge\" channel is also marked as stable.\n  echo \"The snap package is marked as unstable:\"\n  grep 'grade: ' meta/snap.yaml\n  echo \"You probably chose the wrong revision.\"\n  exit 1\nfi\nif ! grep -q '1.2.11.916.geb595a67' meta/snap.yaml; then\n  echo \"Package version differs from version found in snap metadata:\"\n  grep 'version: ' meta/snap.yaml\n  echo \"While the nix package specifies: 1.2.11.916.geb595a67.\"\n  echo \"You probably chose the wrong revision or forgot to update the nix version.\"\n  exit 1\nfi\nrunHook postUnpack\n",
      "version": "1.2.11.916.geb595a67"
    },
    "inputDrvs": {
      "/nix/store/00yzgmb8imb6k08zwn3rn8f9vs02ji8z-pOBIoZ2LrCB3rDohMxoYGnbN14EHOgD7_67.snap.drv": [
        "out"
      ],
      "/nix/store/0isfxvgk25c07mfl59g4c4y5i8czjvq2-libpulseaudio-16.1.drv": [
        "out"
      ],
      "/nix/store/0q9m71hl3irbx253ki65av6ssylz4gf1-gtk+3-3.24.38.drv": [
        "out"
      ],
      "/nix/store/26zsa7wq3ghqzlxz9knzh3m9qhxvpz1z-libpng-apng-1.6.39.drv": [
        "out"
      ],
      "/nix/store/2qwxd7x9ypkv5anc4pk0d4s7p8a0rkyy-libXi-1.8.1.drv": [
        "out"
      ],
      "/nix/store/2shcdakx560bnn7lnrg120a71m2dpigi-stdenv-linux.drv": [
        "out"
      ],
      "/nix/store/37nmj3b1ajq95g1lc1c1cmair39j5ksh-bash-5.2-p15.drv": [
        "out"
      ],
      "/nix/store/3iwcd8y4a6anskrj5dl72c3p9g0bchpg-alsa-lib-1.2.9.drv": [
        "out"
      ],
      "/nix/store/42v7434wihv5ksqbq961cwvybfdan6ak-at-spi2-core-2.48.3.drv": [
        "out"
      ],
      "/nix/store/4ivbqb1k1kggasnnwp7p0jlpx1znzpab-squashfs-4.6.1.drv": [
        "out"
      ],
      "/nix/store/5v3x6li2q43dfxwgwnnlwm0pdzg7cjhj-libXtst-1.2.4.drv": [
        "out"
      ],
      "/nix/store/5xvzbv1m0gqgd29j6qgl0svh7pfibbgq-libICE-1.1.1.drv": [
        "out"
      ],
      "/nix/store/6da3x7gbpbyxwrg7j38da8a6xba6vm3b-make-shell-wrapper-hook.drv": [
        "out"
      ],
      "/nix/store/8ml5dj35jxk8ldyrc0iipq487gkgfq09-libxshmfence-1.3.2.drv": [
        "out"
      ],
      "/nix/store/94n27ml2x3qdzgjcg5qz3ivqqvb5bp22-pango-1.50.14.drv": [
        "out"
      ],
      "/nix/store/9pfbgvr45k2zqxg94dm1vyabfxjh2gka-curl-8.1.1.drv": [
        "out"
      ],
      "/nix/store/aqq5vwxpw64x0ncvjziypaps3pflpfl8-zenity-3.99.0.drv": [
        "out"
      ],
      "/nix/store/arcgr1a06l5gzx68k1p8g8ssrdvs4ihb-libXcursor-1.2.1.drv": [
        "out"
      ],
      "/nix/store/awx8y86070v31f6ra5dcwarlcb2qb98x-libXrender-0.9.11.drv": [
        "out"
      ],
      "/nix/store/bczh3rgaixzsmq6b5q54nxqq80am8iiz-libXfixes-6.0.1.drv": [
        "out"
      ],
      "/nix/store/cf3fnn1vjmhzaj3aabyn39l0hy5mdrqv-gdk-pixbuf-2.42.10.drv": [
        "out"
      ],
      "/nix/store/ciwif5sblh1zcl9m4sa1b6idhh72cv2v-libxkbcommon-1.5.0.drv": [
        "out"
      ],
      "/nix/store/cx741hy9rasqwxiamyn09py3iin4zbk1-cups-2.4.6.drv": [
        "lib"
      ],
      "/nix/store/czy8a232qa1h2q1h6yjnra1h2i9mzbr6-cairo-1.16.0.drv": [
        "out"
      ],
      "/nix/store/dcpz3q35i9x3jizmih91cs32bkybb87v-libXext-1.3.5.drv": [
        "out"
      ],
      "/nix/store/dhp2wlvcl2675iq5h5jxwhb9pg67f8b4-openssl-3.0.9.drv": [
        "out"
      ],
      "/nix/store/f9bik80ysd4px39z7hpl9d1zarixfj8h-libXrandr-1.5.3.drv": [
        "out"
      ],
      "/nix/store/fn1x6ydayisi5piz03ng4inas071j41c-zlib-1.2.13.drv": [
        "out"
      ],
      "/nix/store/fw00bygpxml8qzh90ifhds3fy4239slc-expat-2.5.0.drv": [
        "out"
      ],
      "/nix/store/gf0k08ba3x5xn929f201q4drmqk7llnx-dbus-1.14.8.drv": [
        "lib"
      ],
      "/nix/store/gyzkdazzc526hzj12i945jqy2363pnw5-mesa-23.1.3.drv": [
        "out"
      ],
      "/nix/store/hh9lpjm97x8qshi2m01v0aj1zj0xwqni-libXScrnSaver-1.2.4.drv": [
        "out"
      ],
      "/nix/store/i4jdzgfmvsz6m982a6z7r2vycq8ij4af-wrap-gapps-hook.drv": [
        "out"
      ],
      "/nix/store/iix5r1bgf0j0a0vgy9hpjf6284824925-harfbuzz-7.3.0.drv": [
        "out"
      ],
      "/nix/store/j91g7qq4yaglgwzqzivs30ck9p8ipjs8-nspr-4.35.drv": [
        "out"
      ],
      "/nix/store/k7b4n531vf4nban3mmzv21ywsbds8jb0-libxcb-1.15.drv": [
        "out"
      ],
      "/nix/store/l5ilwykgmgivqlfci9nwclv549kxz56m-libX11-1.8.6.drv": [
        "out"
      ],
      "/nix/store/l6fc3p15vz74av1x4zswhpy6hzd19xj5-glib-2.76.3.drv": [
        "out"
      ],
      "/nix/store/mbb5r749cmsx2r7q54bhp4zd7lmd2791-gcc-12.3.0.drv": [
        "lib"
      ],
      "/nix/store/mizimg0s0jd1yydglhq1hj10fzgdx3sv-libXdamage-1.1.6.drv": [
        "out"
      ],
      "/nix/store/mvn47n4madnk0p292rlgy6592g3763yh-libnotify-0.8.2.drv": [
        "out"
      ],
      "/nix/store/pjybykkkk583sz3yccsw335w67rf9wx4-freetype-2.13.0.drv": [
        "out"
      ],
      "/nix/store/plbg54bn3nw6gn5jzr0zs8wimnsyykbw-fontconfig-2.14.2.drv": [
        "lib"
      ],
      "/nix/store/rfghhdf43akchrp7r0i2rxrrwmwas8l8-ffmpeg-4.4.4.drv": [
        "lib"
      ],
      "/nix/store/rx47ci8ajyvv3nwm45zh1my5106mfxqj-libdrm-2.4.115.drv": [
        "out"
      ],
      "/nix/store/s7rbp8gihfkikzpz0z46xkqizjl45pqc-libSM-1.2.4.drv": [
        "out"
      ],
      "/nix/store/wmwlpzxq0r4l29sxddi4dmkgknv22fsn-libXcomposite-0.4.6.drv": [
        "out"
      ],
      "/nix/store/yxksnyb7jr5dps9h2vsvh7n3frxvgdd9-libgcrypt-1.10.2.drv": [
        "out"
      ],
      "/nix/store/z957ajrq1fckflgx19r395x53j541v61-nss-3.91.drv": [
        "out"
      ],
      "/nix/store/zgf4bx2jrw6ysjlr3qf4i942z64d6559-systemd-253.5.drv": [
        "out"
      ]
    },
    "inputSrcs": [
      "/nix/store/6xg259477c90a229xwmb53pdfkn6ig3g-default-builder.sh"
    ],
    "name": "spotify-1.2.11.916.geb595a67",
    "outputs": {
      "out": {
        "path": "/nix/store/xhygwnw9arlw2jw0jcnwxkn7q7va390c-spotify-1.2.11.916.geb595a67"
      }
    },
    "system": "x86_64-linux"
  }
}

but it’s installed just as fine and it can’t run
from terminal i’ve tried spotify this what i got






/home/adam/.nix-profile/bin/spotify: /nix/store/kvns67qjf81bwznx7qaavyni30bpzvff-curl-8.1.1/lib/libcurl-gnutls.so.4: no version information available (required by /home/adam/.nix-profile/bin/spotify)
/nix/store/xhygwnw9arlw2jw0jcnwxkn7q7va390c-spotify-1.2.11.916.geb595a67/share/spotify/.spotify-wrapped: /nix/store/kvns67qjf81bwznx7qaavyni30bpzvff-curl-8.1.1/lib/libcurl-gnutls.so.4: no version information available (required by /nix/store/xhygwnw9arlw2jw0jcnwxkn7q7va390c-spotify-1.2.11.916.geb595a67/share/spotify/.spotify-wrapped)
/nix/store/xhygwnw9arlw2jw0jcnwxkn7q7va390c-spotify-1.2.11.916.geb595a67/share/spotify/.spotify-wrapped: /nix/store/kvns67qjf81bwznx7qaavyni30bpzvff-curl-8.1.1/lib/libcurl-gnutls.so.4: no version information available (required by /nix/store/xhygwnw9arlw2jw0jcnwxkn7q7va390c-spotify-1.2.11.916.geb595a67/share/spotify/.spotify-wrapped)
Gtk-Message: 20:54:06.531: Failed to load module "canberra-gtk-module"
Gtk-Message: 20:54:06.533: Failed to load module "canberra-gtk-module"
/proc/self/exe: /nix/store/kvns67qjf81bwznx7qaavyni30bpzvff-curl-8.1.1/lib/libcurl-gnutls.so.4: no version information available (required by /proc/self/exe)
[0725/205406.931047:FATAL:gpu_data_manager_impl_private.cc(440)] GPU process isn't usable. Goodbye.
[1]    19245 trace trap (core dumped)  spotify

Seems like you might need to use nixGL. This is necessary for software installed with Nix to use your GPU when running on non-NixOS systems

1 Like

yes i did it and it works just as fine thanx u man i appericiate that