diff options
author | hacker1024 <hacker1024@users.sourceforge.net> | 2023-10-29 01:23:47 +1100 |
---|---|---|
committer | FlafyDev <flafyarazi@gmail.com> | 2023-12-26 18:48:12 +0200 |
commit | 23952fb64184b44d1c884dd592b6a19381413bf2 (patch) | |
tree | f439b5eb622a8fc22bbf4ac85c127763750f19ee /doc | |
parent | 2bd3e5d779f31c751cf2f23e98fc4dbe74f4328c (diff) | |
download | nixlib-23952fb64184b44d1c884dd592b6a19381413bf2.tar nixlib-23952fb64184b44d1c884dd592b6a19381413bf2.tar.gz nixlib-23952fb64184b44d1c884dd592b6a19381413bf2.tar.bz2 nixlib-23952fb64184b44d1c884dd592b6a19381413bf2.tar.lz nixlib-23952fb64184b44d1c884dd592b6a19381413bf2.tar.xz nixlib-23952fb64184b44d1c884dd592b6a19381413bf2.tar.zst nixlib-23952fb64184b44d1c884dd592b6a19381413bf2.zip |
buildDartApplication: Remove depsListFile
We get a dependency list with pub2nix now. We can no longer easily distinguish between development dependency dependencies and regular dependency dependencies, but we weren't doing this anyway.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/languages-frameworks/dart.section.md | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/doc/languages-frameworks/dart.section.md b/doc/languages-frameworks/dart.section.md index 512f55a68b6b..55f0b20d6e95 100644 --- a/doc/languages-frameworks/dart.section.md +++ b/doc/languages-frameworks/dart.section.md @@ -13,8 +13,6 @@ This can be converted to JSON from YAML with something like `yq . pubspec.lock`, If the package has Git package dependencies, the hashes must be provided in the `gitHashes` set. If a hash is missing, an error message prompting you to add it will be shown. -The `depsListFile` must always be provided when packaging in Nixpkgs. It will be generated and printed if the derivation is attempted to be built without one. Alternatively, `autoDepsList` may be set to `true` only when outside of Nixpkgs, as it relies on import-from-derivation. - The `dart` commands run can be overridden through `pubGetScript` and `dartCompileCommand`, you can also add flags using `dartCompileFlags` or `dartJitFlags`. Dart supports multiple [outputs types](https://dart.dev/tools/dart-compile#types-of-output), you can choose between them using `dartOutputType` (defaults to `exe`). If you want to override the binaries path or the source path they come from, you can use `dartEntryPoints`. Outputs that require a runtime will automatically be wrapped with the relevant runtime (`dartaotruntime` for `aot-snapshot`, `dart run` for `jit-snapshot` and `kernel`, `node` for `js`), this can be overridden through `dartRuntimeCommand`. @@ -34,7 +32,6 @@ buildDartApplication rec { }; pubspecLock = lib.importJSON ./pubspec.lock.json; - depsListFile = ./deps.json; } ``` @@ -95,7 +92,6 @@ flutter.buildFlutterApplication { }; pubspecLock = lib.importJSON ./pubspec.lock.json; - depsListFile = ./deps.json; } ### Usage with nix-shell {#ssec-dart-flutter-nix-shell} |