pub2nix: Add disclaimer why not to use fetchTarball
This commit is contained in:
parent
b0a2d432da
commit
65b0c270c2
1 changed files with 2 additions and 0 deletions
|
@ -48,6 +48,8 @@ let
|
|||
(lib.genAttrs (builtins.attrValues dependencyTypes) (dependencyType: [ ]))
|
||||
pubspecLock.packages;
|
||||
|
||||
# fetchTarball fails with "tarball contains an unexpected number of top-level files". This is a workaround.
|
||||
# https://discourse.nixos.org/t/fetchtarball-with-multiple-top-level-directories-fails/20556
|
||||
mkHostedDependencySource = name: details:
|
||||
let
|
||||
archive = fetchurl {
|
||||
|
|
Loading…
Reference in a new issue