Package: nix-bin Version: 2.8.0-1.1+b1 Severity: important X-Debbugs-Cc: far...@debian.afasf.com
Dear Maintainer, *** Reporter, please consider answering these questions, where appropriate *** * What led up to the situation? * What exactly did you do (or not do) that was effective (or ineffective)? * What was the outcome of this action? * What outcome did you expect instead? *** End of the template - remove these template lines *** This is my first time trying out nix, however I could not get it to work. ~$ sudo nix-shell -p cowsay [sudo] password for farhad: error: file 'nixpkgs' was not found in the Nix search path (add it using $NIX_PATH or -I) at «string»:1:25: 1| {...}@args: with import <nixpkgs> args; (pkgs.runCommandCC or pkgs.runCommand) "shell" { buildInputs = [ (cowsay) ]; } "" | ^ (use '--show-trace' to show detailed location information) whenever I try nix-shel or nix-env to use a package it seems to not be able to find nixpkgs and fails to proceed anyh further. I tried to manually upgrade nix from this link: https://nixos.org/manual/nix/stable/installation/upgrading however nothing changed I also tried to use Arch Wiki's guide: https://wiki.archlinux.org/index.php?title=Nix&oldid=684715 but adding a channel did not seem to resolve the issue either. Needless to say i performed a full reboot after each action and nothing seemed to be affected. I could poke around further but lack of documentation for this package and my lack of knowledge about nix is holding me back. I do not want to use packages outside of debian 12 stable, or run random shell scripts on my machine. -- System Information: Debian Release: 12.5 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 6.1.0-18-amd64 (SMP w/4 CPU threads; PREEMPT) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages nix-bin depends on: ii bzip2 1.0.8-5+b1 ii curl 7.88.1-10+deb12u5 ii libarchive13 3.6.2-1 ii libboost-context1.74.0 1.74.0+ds1-21 ii libbrotli1 1.0.9-2+b6 ii libbsd0 0.11.7-2 ii libc6 2.36-9+deb12u4 ii libcpuid16 0.6.2+repack1-1 ii libcurl3-gnutls 7.88.1-10+deb12u5 ii libdbd-sqlite3-perl 1.72-1 ii libgc1 1:8.2.2-3 ii libgcc-s1 12.2.0-14 ii libreadline8 8.2-1.3 ii libseccomp2 2.5.4-1+b3 ii libsodium23 1.0.18-1 ii libsqlite3-0 3.40.1-2 ii libssl3 3.0.11-1~deb12u2 ii libstdc++6 12.2.0-14 ii libwww-curl-perl 4.17-10 ii perl 5.36.0-7+deb12u1 ii sysvinit-utils [lsb-base] 3.06-4 ii xz-utils 5.4.1-0.2 Versions of packages nix-bin recommends: ii nix-setup-systemd 2.8.0-1.1 nix-bin suggests no packages. -- no debconf information