applyPatches: fix adding meta information

This commit is contained in:
Maximilian Bosch 2023-08-20 11:51:21 +02:00
parent c74490e000
commit 850af44435
No known key found for this signature in database
GPG key ID: 9A6EEA275CA5BE0A

View file

@ -914,7 +914,7 @@ rec {
installPhase = "cp -R ./ $out";
}
# Carry `meta` information from the underlying `src` if present.
// (optionalAttrs (builtins.hasAttr "meta" src) src.meta)
// (optionalAttrs (src?meta) { inherit (src) meta; })
// (removeAttrs args [ "src" "name" "patches" "postPatch" ]);
/* An immutable file in the store with a length of 0 bytes. */