Lix overlay causes prefetch-yarn-deps (electron) evaluation error #591
	
		Labels
		
	
	
	
	No labels
	
		
			
	
	Affects/CppNix
		
			Affects/Nightly
		
			Affects/Only nightly
		
			Affects/Stable
		
			Area/build-packaging
		
			Area/cli
		
			Area/evaluator
		
			Area/fetching
		
			Area/flakes
		
			Area/language
		
			Area/lix ci
		
			Area/nix-eval-jobs
		
			Area/profiles
		
			Area/protocol
		
			Area/releng
		
			Area/remote-builds
		
			Area/repl
		
			Area/repl/debugger
		
			Area/store
		
			bug
		
			Context
contributors
		
			Context
drive-by
		
			Context
maintainers
		
			Context
RFD
		
			crash 💥
		
			Cross Compilation
		
			devx
		
			docs
		
			Downstream Dependents
		
			E/easy
		
			E/hard
		
			E/help wanted
		
			E/reproducible
		
			E/requires rearchitecture
		
			Feature/S3
		
			imported
		
			Language/Bash
		
			Language/C++
		
			Language/NixLang
		
			Language/Python
		
			Language/Rust
		
			Needs Langver
		
			OS/Linux
		
			OS/macOS
		
			performance
		
			regression
		
			release-blocker
		
			stability
		
			Status
blocked
		
			Status
invalid
		
			Status
postponed
		
			Status
wontfix
		
			testing
		
			testing/flakey
		
			Topic/Large Scale Installations
		
			ux
		
		
	
		No milestone
		
			
		
	No project
	
		
	
	
	
	
		No assignees
		
	
	
		
			
		
	
	
	
		3 participants
	
	
		
		
	Notifications
	
		
	
	
	
		
	
	
	Due date
No due date set.
	
		Dependencies
		
		
	
	
	No dependencies set.
	
	
		
	
	
		
			Reference
		
	
	
		
	
	
			lix-project/lix#591
			
		
	
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	
	No description provided.
		
		Delete branch "%!s()"
	 
	Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Describe the bug
I am getting
error: nix_2_18 has been removedwhen rebuilding my system. I have traced the issue back to the Lix overlay andprefetch-yarn-deps, which is mentioned in the trace (/nix/store/l7mvpqiyrr8g5ipl307alrjj8isrp3pc-source/overlay.nix:63:7).The Lix overlay seems to do some kind of weird hack with
prefetch-yarn-deps.Removing the Lix overlay fixes the problem, allowing me to build my system
Steps To Reproduce
nixos-rebuild switch --show-traceExpected behavior
The system configuration is built and applied
nix --versionoutputnix (Lix, like Nix) 2.90.0Additional context
See attached file for a trace
Hm, can you verify that your overlay is up to date? I suspect this is fixed in 2.91.1-2 and main of the overlay as of a few weeks ago.
All this time I was under the impression that I didn't need to update the Lix version in
flake.nix, where I hadhttps://git.lix.systems/lix-project/lix/archive/2.90.0.tar.gzlisted. I had however updated my lock file immediately before encountering this issue.Either way, updating the URL in flake.nix resolved the issue. I suppose I will close this issue.
Seeing this as well. Tried bumping lix to 2.91.1 in flake.nix but no luck, got a different error:
error: attribute 'stable_upstream' missingYou want 2.91.1-2, not 2.91.1. I wish there was a way to yank releases to make this mistake harder to make. For reference, the installation guide on the lix website will list the correct URL for the latest stable version.
@jade oh dang you're right! Looks like I've got the url wrong (2.91.1 vs 2.91.1-2). Let me try with that one right after this massive rebuild finishes
👍looks like it's working! (not sure if having the electron derivations already built in the nix store helped things)