Basically, if you try to build a flutter project in a path with spaces using nix, it just fails with
/nix/store/j2y057vz3i19yh4zjsan1s3q256q15rd-binutils-2.41/bin/ld: cannot find $REST_OF_PATH/outputs/out/lib: No such file or directory
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
Steps To Reproduce
Steps to reproduce the behavior:
create a flutter project (using a nix flake) in a path that has spaces
use nix develop or vscode + extensions to run "flutter build"
fails as described
Expected behavior
Just runs
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
If it's in a path without spaces, it works.
On a Fedora VM, exact same path, without nix, just the sdk downloaded and set up in $PATH, it works fine too.
Maybe related to https://github.com/NixOS/nixpkgs/issues/226034 ?
Notify maintainers
@hacker1024
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
Describe the bug
Basically, if you try to build a flutter project in a path with spaces using nix, it just fails with
Steps To Reproduce
Steps to reproduce the behavior:
Expected behavior
Just runs
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
If it's in a path without spaces, it works. On a Fedora VM, exact same path, without nix, just the sdk downloaded and set up in $PATH, it works fine too. Maybe related to https://github.com/NixOS/nixpkgs/issues/226034 ?
Notify maintainers
@hacker1024
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Add a :+1: reaction to issues you find important.