diff options
Diffstat (limited to 'pkgs/development/compilers/flutter/update/get-artifact-hashes.nix.in')
-rw-r--r-- | pkgs/development/compilers/flutter/update/get-artifact-hashes.nix.in | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/pkgs/development/compilers/flutter/update/get-artifact-hashes.nix.in b/pkgs/development/compilers/flutter/update/get-artifact-hashes.nix.in deleted file mode 100644 index 73f3b3e1f13e..000000000000 --- a/pkgs/development/compilers/flutter/update/get-artifact-hashes.nix.in +++ /dev/null @@ -1,49 +0,0 @@ -{ callPackage -, flutterPackages -, lib -, symlinkJoin -, -}: -let - nixpkgsRoot = "@nixpkgs_root@"; - flutterCompactVersion = "@flutter_compact_version@"; - - flutterPlatforms = [ - "android" - "ios" - "web" - "linux" - "windows" - "macos" - "fuchsia" - "universal" - ]; - systemPlatforms = [ - "x86_64-linux" - "aarch64-linux" - "x86_64-darwin" - "aarch64-darwin" - ]; - - derivations = - lib.foldl' - ( - acc: flutterPlatform: - acc - ++ (map - (systemPlatform: - callPackage "${nixpkgsRoot}/pkgs/development/compilers/flutter/artifacts/fetch-artifacts.nix" { - flutter = flutterPackages."v${flutterCompactVersion}"; - inherit flutterPlatform; - inherit systemPlatform; - hash = lib.fakeSha256; - }) - systemPlatforms) - ) [ ] - flutterPlatforms; -in -symlinkJoin { - name = "evaluate-derivations"; - paths = derivations; -} - |