Skip to content

Commit 218ffdf

Browse files
committed
fix(roundcube/kolab-plugins): actually fix hash
1 parent ed40828 commit 218ffdf

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

pkgs/roundcube-plugins/kolab-plugins/default.nix

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,16 @@ php.buildComposerProject2 (finalAttrs: {
2525
composerNoDev = true;
2626
composerNoPlugins = true;
2727
composerNoScripts = true;
28-
vendorHash = "sha256-IvkWlGlYP5Xdp1mffEcB33Gy48rV5zgdVqbLncwj/S4=";
29-
# Cleanup .git directories from git dependencies
28+
strictDeps = true;
29+
vendorHash = "sha256-QYERch9v0glBK+rqvsh36s78YziVed07TsHz10N6zgs=";
3030
postInstall = ''
31+
# Cleanup .git directories from git dependencies
3132
rm -rf $out/vendor/**/*/.git
33+
# Make include_paths.php deterministic
34+
head -n 8 $out/vendor/composer/include_paths.php > include_paths.php
35+
tail -n +9 $out/vendor/composer/include_paths.php | head -n -1 | sort >> include_paths.php
36+
tail -n 1 $out/vendor/composer/include_paths.php >> include_paths.php
37+
mv include_paths.php $out/vendor/composer/include_paths.php
3238
'';
3339
};
3440

0 commit comments

Comments
 (0)