How to solve this nix error?

Bug description:

Expected vs Current Behavior:

Steps to reproduce:

Bug appears at this link: https://replit.com/@2023-01-INFOTECHPYTHON-01/2juca-gwaje-kimeunjae2925

Screenshot(s)/Screen Recording:

Browser/OS/Device: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36 Edg/111.0.1661.44

Replit Profile: https://replit.com/@sw7up

Hey @sw7up welcome to the forums!

Thank you for your post and sorry that you are experiencing issues. However, the Replit support team may not be able to help you with this issue if you do not complete the template fields fully.

Without knowing the expected and actual behavior (screenshots are fine for this section) as well as the link to your Repl and the steps a member of the support team will need to follow to reproduce the error there won’t be much we can do to help you.

The more information you provide at the start, the easier it will be to identify if your bug report is an issue or a misunderstanding.

The repl also appears to be private

2 Likes

When you run the program, a nix error is issued unconditionally. How can we solve this?

 python3 main.py
nix error: building nix env: exit status 1
Output has been trimmed to the last 20 lines
evaluating file ‘/nix/store/qkdmqki0dwmm50z81d1cs0pw3f82127k-nixpkgs-legacy-src/pkgs/development/python-modules/recursive-pth-loader/default.nix’
copied source ‘/nix/store/qkdmqki0dwmm50z81d1cs0pw3f82127k-nixpkgs-legacy-src/pkgs/development/python-modules/recursive-pth-loader/sitecustomize.py’ → ‘/nix/store/plfxxq6siry726sjd7j98k8qrngvyjmc-sitecustomize.py’
instantiated ‘python-recursive-pth-loader-1.0’ → ‘/nix/store/9wmx22q5liqfnngy5w2234qz0r1pkkgm-python-recursive-pth-loader-1.0.drv’
instantiated ‘bluez-5.60.tar.xz’ → ‘/nix/store/rpjvqadg38j3ifza0yn37755kk7cn3gw-bluez-5.60.tar.xz.drv’
instantiated ‘bluez-5.60’ → ‘/nix/store/xlyj1xshhvf6lmaiwxncpz9zy6ywqvnk-bluez-5.60.drv’
evaluating file ‘/nix/store/qkdmqki0dwmm50z81d1cs0pw3f82127k-nixpkgs-legacy-src/pkgs/development/tools/misc/autoconf-archive/default.nix’
instantiated ‘autoconf-archive-2021.02.19.tar.xz’ → ‘/nix/store/nyb85l05sa1fjzr6m3yn4f6aib1v1aay-autoconf-archive-2021.02.19.tar.xz.drv’
instantiated ‘autoconf-archive-2021.02.19’ → ‘/nix/store/cdk7ykm3s9wjvrf71w5bkjs3cfrl7qyz-autoconf-archive-2021.02.19.drv’
copied source ‘/nix/store/qkdmqki0dwmm50z81d1cs0pw3f82127k-nixpkgs-legacy-src/pkgs/development/interpreters/python/cpython/3.10/no-ldconfig.patch’ → ‘/nix/store/345r2zz7pgiyk91j89qlf7mhs95jrv6f-no-ldconfig.patch’
evaluating file ‘/nix/store/qkdmqki0dwmm50z81d1cs0pw3f82127k-nixpkgs-legacy-src/pkgs/development/libraries/tix/default.nix’
instantiated ‘tix-8.4.3-tcl8.5.patch’ → ‘/nix/store/bhjcqbdlwkyg5wqysczv0chwvwswawzs-tix-8.4.3-tcl8.5.patch.drv’
instantiated ‘tix-8.4.3-tcl8.6.patch’ → ‘/nix/store/r0v97pwamnlh9issdm1rwgzk132bx5hc-tix-8.4.3-tcl8.6.patch.drv’
instantiated ‘Tix8.4.3-src.tar.gz’ → ‘/nix/store/ydf0fhdqdqn4d5xms7a0as28l5d91123-Tix8.4.3-src.tar.gz.drv’
instantiated ‘tix-8.4.3’ → ‘/nix/store/1gzjxgs3cs0d2f4rjwvsrylad28yfvn7-tix-8.4.3.drv’
instantiated ‘python-setup-hook.sh’ → ‘/nix/store/viiqfyhp2ma0gn6saa1djlriza5pqb7p-python-setup-hook.sh.drv’
instantiated ‘Python-3.10.0rc1.tar.xz’ → ‘/nix/store/03b3b89qksj2gflmzpgvxxij503f8q1f-Python-3.10.0rc1.tar.xz.drv’
instantiated ‘python3-3.10.0rc1’ → ‘/nix/store/q53ssd8rlb0jmkay24rzpipavwcvrbd8-python3-3.10.0rc1.drv’
error: cannot coerce a set to a string, at /home/runner/2juca-gwaje-kimeunjae2925/replit.nix:20:20
 python3 main.py

Is the repl private as I cannot open it?

1 Like