fetchNextcloudApp: use fetchurl by default

This commit is contained in:
Robert Schütz 2024-08-04 04:54:11 -07:00
parent 323b37309c
commit da8b0f0621
3 changed files with 5 additions and 2 deletions

View File

@ -175,6 +175,10 @@
and `nodePackages.vscode-json-languageserver-bin` were dropped due to an unmaintained upstream. and `nodePackages.vscode-json-languageserver-bin` were dropped due to an unmaintained upstream.
The `vscode-langservers-extracted` package is a maintained drop-in replacement. The `vscode-langservers-extracted` package is a maintained drop-in replacement.
- `fetchNextcloudApp` has been rewritten to use `fetchurl` rather than
`fetchzip`. This invalidates all existing hashes but you can restore the old
behavior by passing it `unpack = true`.
- `haskell.lib.compose.justStaticExecutables` now disallows references to GHC in the - `haskell.lib.compose.justStaticExecutables` now disallows references to GHC in the
output by default, to alert users to closure size issues caused by output by default, to alert users to closure size issues caused by
[#164630](https://github.com/NixOS/nixpkgs/issues/164630). See ["Packaging [#164630](https://github.com/NixOS/nixpkgs/issues/164630). See ["Packaging

View File

@ -8,7 +8,7 @@
, patches ? [ ] , patches ? [ ]
, description ? null , description ? null
, homepage ? null , homepage ? null
, unpack ? true # whether to use fetchzip rather than fetchurl , unpack ? false # whether to use fetchzip rather than fetchurl
}: }:
applyPatches ({ applyPatches ({
inherit patches; inherit patches;

View File

@ -19,7 +19,6 @@ let packages = self:
appName = pname; appName = pname;
appVersion = data.version; appVersion = data.version;
license = appBaseDefs.${pname}; license = appBaseDefs.${pname};
unpack = false;
inherit (data) url hash description homepage; inherit (data) url hash description homepage;
}) {}; }) {};