Skip to content

Trying to test the flake for flutter dev env #2

@linuxmobile

Description

@linuxmobile
● nix flake new -t github:rencire/devix/main#flutter flutest
wrote: /home/linuxmobile/Dev/flutest/.envrc
wrote: /home/linuxmobile/Dev/flutest/README.md
wrote: /home/linuxmobile/Dev/flutest/flake.nix
⌂/Dev
● cd flutest                                                                           took 16s
direnv: error /home/linuxmobile/Dev/flutest/.envrc is blocked. Run `direnv allow` to approve its content□ Dev/flutest
● direnv allow
direnv: loading ~/Dev/flutest/.envrc
direnv: using flake
[42.3 MiB DL] evaluating derivation 'path:/home/linuxmobile/Dev/flutest#devShells.x86_64-linux.ddirenv: ([/nix/store/wr9gi46jzk63wff2d0y4m3ngqnraq4p6-direnv-2.36.0/bin/direnv export fish]) is taking a while to execute. Use CTRL-C to give up.
warning: creating lock file '/home/linuxmobile/Dev/flutest/flake.lock':
• Added input 'devix':
    'github:rencire/devix/6c030a47e5b49c96cadfc0048501c7ed10851da3' (2025-05-23)
• Added input 'devix/flakelight':
    'github:nix-community/flakelight/f6e77f2219f3af0831a9c2079b4b452a23531b46' (2025-04-21)
• Added input 'devix/flakelight/nixpkgs':
    'github:NixOS/nixpkgs/b024ced1aac25639f8ca8fdfc2f8c4fbd66c48ef' (2025-04-17)
• Added input 'devix/nixpkgs':
    'github:NixOS/nixpkgs/423d2df5b04b4ee7688c3d71396e872afa236a89' (2025-04-30)
• Added input 'nixpkgs':
    'github:NixOS/nixpkgs/e314d5c6d3b3a0f40ec5bcbc007b0cbe412f48ae' (2025-05-22)
error:
       … in the left operand of the update (//) operator
         at «string»:55:9:
           54|         # This is shadowed in the next //
           55|         // sourceInfo
             |         ^
           56|         // {

       … while evaluating the attribute 'config.outputs'
         at /nix/store/isfbldda5j8j6x3nbv1zim0c0dpf90v8-source/lib/modules.nix:359:9:
          358|         options = checked options;
          359|         config = checked (removeAttrs config [ "_module" ]);
             |         ^
          360|         _module = checked (config._module);

       (stack trace truncated; use '--show-trace' to show the full trace)

       error: getting status of '/nix/store/08siscgcs77xgvg02zanp0wp4971b1z2-source/modules/android/devShell.nix': No such file or directory
direnv: nix-direnv: Evaluating current devShell failed. Falling back to previous environment!
direnv: export +NIX_DIRENV_DID_FALLBACK ~PATH

You can see the steps:

nix flake new -t github:rencire/devix/main#flutter
cd flutest
direnv allow  

and the error is there.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions