babariviere / flutter-nix-hello-world

Demonstration on how to use flutter with Nix
51 stars 10 forks source link

dart sdk missing #6

Closed NANASHI0X74 closed 4 years ago

NANASHI0X74 commented 4 years ago

emacs' lsp-dart seems to search for the dart binary under the path where flutter is located, but it isn't there: [LSP Dart] Dart command not found in path ’/nix/store/hiiapmm5f9qr8si2k182v5rq3ix2q64i-flutter-stable-1.17.5/bin/cache/dart-sdk/bin/dart’ [2 times] Am I now to include dart in my shell.nix as well? Doesn't flutter normally bundle a version of dart? If possible, I think that one should be preferred, or not?

NANASHI0X74 commented 4 years ago

after a bit of searching, I found this: https://github.com/NixOS/nixpkgs/pull/99920 which I suppose will fix this when it's merged

babariviere commented 4 years ago

Yes, you are right! I will look at your other PRs, but this issue is not related to this repo!

NANASHI0X74 commented 4 years ago

~https://github.com/NixOS/nixpkgs/issues/98405#issuecomment-712785071 Here's a workaround for the time being~ Edit: PR is now merged into nixpkgs