fetchzip: remove write permissions for unpacked files
Fixes https://github.com/NixOS/nixpkgs/issues/38649
This commit is contained in:
@@ -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 ];
|
||||
|
||||
Reference in New Issue
Block a user