Skip to content

Commit d8446a5

Browse files
authored
Merge pull request #332226 from dotlambda/nextcloud
fetchNextcloudApp: use fetchurl by default
2 parents bd15553 + da8b0f0 commit d8446a5

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

nixos/doc/manual/release-notes/rl-2411.section.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,10 @@
179179
and `nodePackages.vscode-json-languageserver-bin` were dropped due to an unmaintained upstream.
180180
The `vscode-langservers-extracted` package is a maintained drop-in replacement.
181181

182+
- `fetchNextcloudApp` has been rewritten to use `fetchurl` rather than
183+
`fetchzip`. This invalidates all existing hashes but you can restore the old
184+
behavior by passing it `unpack = true`.
185+
182186
- `haskell.lib.compose.justStaticExecutables` now disallows references to GHC in the
183187
output by default, to alert users to closure size issues caused by
184188
[#164630](https://github.com/NixOS/nixpkgs/issues/164630). See ["Packaging

pkgs/build-support/fetchnextcloudapp/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
, patches ? [ ]
99
, description ? null
1010
, homepage ? null
11-
, unpack ? true # whether to use fetchzip rather than fetchurl
11+
, unpack ? false # whether to use fetchzip rather than fetchurl
1212
}:
1313
applyPatches ({
1414
inherit patches;

pkgs/servers/nextcloud/packages/default.nix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ let packages = self:
1919
appName = pname;
2020
appVersion = data.version;
2121
license = appBaseDefs.${pname};
22-
unpack = false;
2322
inherit (data) url hash description homepage;
2423
}) {};
2524

0 commit comments

Comments
 (0)