With streamlit: nix error: building nix env: exit status 1

Problem description:
In the shell the error message keeps repeating:

nix error: building nix env: exit status 1
Output has been trimmed to the last 20 lines
copied source '/nix/store/4va5hjb3sdk8pnpn3dsnkdg65fw28jgv-nixpkgs-23.05-src/pkgs/development/libraries/glibc/fix-x64-abi.patch' -> '/nix/store/7kw224hdyxd7115lrqh9a4dv2x8msq2s-fix-x64-abi.patch'
copied source '/nix/store/4va5hjb3sdk8pnpn3dsnkdg65fw28jgv-nixpkgs-23.05-src/pkgs/development/libraries/glibc/nix-nss-open-files.patch' -> '/nix/store/001gp43bjqzx60cg345n2slzg7131za8-nix-nss-open-files.patch'
copied source '/nix/store/4va5hjb3sdk8pnpn3dsnkdg65fw28jgv-nixpkgs-23.05-src/pkgs/development/libraries/glibc/0001-Revert-Remove-all-usage-of-BASH-or-BASH-in-installed.patch' -> '/nix/store/k06glk8f3dxj3k0m9b9y7ph2nbnd1ns0-0001-Revert-Remove-all-usage-of-BASH-or-BASH-in-installed.patch'
copied source '/nix/store/4va5hjb3sdk8pnpn3dsnkdg65fw28jgv-nixpkgs-23.05-src/pkgs/development/libraries/glibc/reenable_DT_HASH.patch' -> '/nix/store/rwnpifhbiky8wmzsfyzah2qpah1z1mzk-reenable_DT_HASH.patch'
evaluating file '/nix/store/4va5hjb3sdk8pnpn3dsnkdg65fw28jgv-nixpkgs-23.05-src/pkgs/development/libraries/libidn2/default.nix'
evaluating file '/nix/store/4va5hjb3sdk8pnpn3dsnkdg65fw28jgv-nixpkgs-23.05-src/pkgs/development/libraries/libunistring/default.nix'
instantiated 'libunistring-1.1.tar.gz' -> '/nix/store/x026yqw2ch0lhcyd548qra2i6gxi2whp-libunistring-1.1.tar.gz.drv'
instantiated 'libunistring-1.1' -> '/nix/store/xvn3anp019d0mcx0hagacyfc0cslh5ih-libunistring-1.1.drv'
instantiated 'libidn2-2.3.4.tar.gz' -> '/nix/store/21xd2nc05x1zyb6q071q0iddsi8075m9-libidn2-2.3.4.tar.gz.drv'
instantiated 'libidn2-2.3.4' -> '/nix/store/x6pncslc93zbdfs4mnga7clbcfadlm0m-libidn2-2.3.4.drv'
instantiated 'glibc-2.37.tar.xz' -> '/nix/store/h635jjqzf1g34hbb87lwki2z56zmvnwb-glibc-2.37.tar.xz.drv'
instantiated 'glibc-2.37-8' -> '/nix/store/018d2v7fy5b3h188cq2ppridpq6hhz7c-glibc-2.37-8.drv'
evaluating file '/nix/store/4va5hjb3sdk8pnpn3dsnkdg65fw28jgv-nixpkgs-23.05-src/pkgs/tools/misc/coreutils/default.nix'
evaluating file '/nix/store/4va5hjb3sdk8pnpn3dsnkdg65fw28jgv-nixpkgs-23.05-src/pkgs/development/libraries/acl/default.nix'
evaluating file '/nix/store/4va5hjb3sdk8pnpn3dsnkdg65fw28jgv-nixpkgs-23.05-src/pkgs/tools/text/gnugrep/default.nix'
evaluating file '/nix/store/4va5hjb3sdk8pnpn3dsnkdg65fw28jgv-nixpkgs-23.05-src/pkgs/tools/text/gawk/default.nix'
evaluating file '/nix/store/4va5hjb3sdk8pnpn3dsnkdg65fw28jgv-nixpkgs-23.05-src/pkgs/build-support/mkshell/default.nix'
evaluating file '/home/runner/Oracle-of-DSCOVR-2023/replit.nix'
error: syntax error, unexpected '.', expecting ID or OR_KW or DOLLAR_CURLY or '"', at /home/runner/Oracle-of-DSCOVR-2023/replit.nix:6:14

Expected behavior:
No error messages. Able to run code

Actual behavior:
Error messages over and over again. Cannot run code long enough to evaluate.

Steps to reproduce:
Open the shell and watch for a few seconds

Bug appears at this link:
https://replit.com/@NorthDecoder/Oracle-of-DSCOVR-2023

Browser: Firefox 118.01
OS: Windows 10
Device (Android, iOS, NA leave blank):
Desktop app version (Avatar menu->“Version”) or NA:
Plan (Free, Hacker, Pro Plan): Pro

Your replit.nix file appears to have been messed up, could you send the contents of it?

Not sure if I can. It is refreshing the shell every few seconds, so I cannot type anything, even the ls command

We were really hoping to use this environment for the NASA Space Apps Challenge this weekend. I hope it can be fixed soon.

The server settled down for a minute here it is:

cat replit.nix 
{ pkgs }: {
  deps = [
    pkgs.toybox
    pkgs.wget
    pkgs.vim
    pkgs.tree
    pkgs.cd ..
  
  ];
vim replit.nix
{ pkgs }: {
deps = [
pkgs.toybox
pkgs.wget
pkgs.vim
pkgs.tree
];

removed pkgs.cd …

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.