Repository navigation
README says that "installSimula" doesn't compile, but it does #196
Description
Activity
No, it says it should not compile, not that it doesn't. There are cases where it is necessary.
What you're really asking for is a precompiled binary for your particular platform to be added to the repository.
From reading other issues, this seems to be
cachixfailing or being out of date - Builds are being triggered on Ubuntu 22.04 as per #190 and mine was triggered on Fedora 38 on Intel, both hardly niche use cases.The Readme states:
It takes less than 1 minute to installat the very top, and a bit further down:Installing Simula should take less than 1 minute: this script **doesn’t actually compile anything** on your system, but instead downloads the appropriate binaries from our cache in a way that is system and driver agnostic.(emphasis mine) only later stating that a 1+ hour build time is a possibility.Either way, the larger issue is that hardware is getting 100% of the focus now as per the discussion on #180 and builds are probably always being triggered for new users.
For me, this step never passes. 0% CPU/RAMS usage. Just hangs there like so:
/home/rebelcoder/.nix-profile/bin/nix nix already installed.. /home/rebelcoder/.nix-profile/bin/cachix cachix already installed.. Configured https://simula.cachix.org binary cache in /home/rebelcoder/.config/nix/nix.conf Message from Simula Contributors. ================================= In order to show project funders that Simula is useful, we anonymously collect the following data: - Session length - Number of windows active - Error logs on crashes Downloading nixpkgs, this will take a while.OS: Arch Linux
What does ps ax|grep nix say?
Reacted by rebelCoder @ rebelScienceWhat does ps ax|grep nix say?
Update: after some tinkering,
installSimulafails with the following:Message from Simula Contributors. ================================= In order to show project funders that Simula is useful, we anonymously collect the following data: - Session length - Number of windows active - Error logs on crashes Downloading nixpkgs, this will take a while.⬇️
error: 2448 bytes of body are still expected fetch-pack: unexpected disconnect while reading sideband packet fatal: early EOF fatal: fetch-pack: invalid index-pack output error: … while calling the 'import' builtin at /media/work/!_Tools/Simula/default.nix:3:120: 2| let 3| pkgs = if profileBuild then (import ./pinned-nixpkgs.nix { overlays = (import ./nix/profileOverlays.nix); }) else (import ./pinned-nixpkgs.nix { }); | ^ 4| in … while evaluating the file '/media/work/!_Tools/Simula/pinned-nixpkgs.nix': … while calling the 'import' builtin at /media/work/!_Tools/Simula/pinned-nixpkgs.nix:1:1: 1| import (builtins.fetchGit { | ^ 2| url = "https://github.com/NixOS/nixpkgs.git"; (stack trace truncated; use '--show-trace' to show the full trace) error: program 'git' failed with exit code 128Seems like some sort of flaky internet connection?
README states that installing should take less than a minute and doesn't compile. I'm on a Steam Deck running the install script, which has triggered
nix-buildand godot is currently taking 15+ minutes to compile (I see severalcc1plusthreads running). Here's some output from nix with relevant info:The README should be corrected.