Skip to content

prior working app stopped working with assertionerrors #3334

Closed Answered by gjelsas
gjelsas asked this question in Q&A
Discussion options

You must be logged in to vote

Okay, I found a way using the nixos overlay syntax to create a flutter 3.19 overlay and start my program. For anyone who is interested here are my shell.nix and the flutter-overlay.nix files. They are in the same folder. You can remove the shell-hooks, if you don't want to start the Program or source the virtual environment on activation of the nix-shell environment.

to start execute nix-shell in the folder containing the two files.

shell.nix:

{ pkgs ? import <nixpkgs> { 
overlays = [ (import ./flutter-overlay.nix )]; 
} }:
pkgs.mkShellNoCC {
  packages = with pkgs; [
	python311Packages.flet
  ];
  shellHook = ''
  	source /home/user/path/to/your/venv/bin/activate
  	python /home/user/pat…

Replies: 6 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@gjelsas
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@gjelsas
Comment options

@mse11
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by gjelsas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #3330 on May 22, 2024 16:30.