mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
compress-drv: passthru passthru and meta
This is required for for example services.nextcloud.package as otherwise config.services.nextcloud.package.packages would break.
This commit is contained in:
parent
ed0b188156
commit
2d9123a3f6
1 changed files with 2 additions and 0 deletions
|
@ -80,6 +80,8 @@ runCommand "${drv.name}-compressed"
|
|||
(
|
||||
(lib.optionalAttrs (drv ? pname) { inherit (drv) pname; })
|
||||
// (lib.optionalAttrs (drv ? version) { inherit (drv) version; })
|
||||
// (lib.optionalAttrs (drv ? passthru) { inherit (drv) passthru; })
|
||||
// (lib.optionalAttrs (drv ? meta) { inherit (drv) meta; })
|
||||
)
|
||||
''
|
||||
mkdir $out
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue