fetchzip: remove write permissions for unpacked files

Fixes https://github.com/NixOS/nixpkgs/issues/38649
This commit is contained in:
MetaDark
2020-11-26 15:30:12 -05:00
committed by Kira Bruneau
parent ea84f9d409
commit 4a5c49363a
5 changed files with 7 additions and 9 deletions
@@ -11,8 +11,6 @@ in stdenv.mkDerivation rec {
url =
"https://github.com/engelsystem/engelsystem/releases/download/v3.1.0/engelsystem-v3.1.0.zip";
sha256 = "01wra7li7n5kn1l6xkrmw4vlvvyqh089zs43qzn98hj0mw8gw7ai";
# This is needed, because the zip contains a directory with world write access, which is not allowed in nix
extraPostFetch = "chmod -R a-w $out";
};
buildInputs = [ phpExt ];