qtModule: allow shared patches
Allow modules to include version-independent patches in addition to version-dependent packages. Prior to this change, modules could only provide version-independent patches _instead of_ version-dependent patches.
This commit is contained in:
parent
a4fbb92be0
commit
dc7f25926e
|
@ -14,7 +14,7 @@ in
|
|||
|
||||
mkDerivation (args // {
|
||||
inherit pname version src;
|
||||
patches = args.patches or patches.${pname} or [];
|
||||
patches = (args.patches or []) ++ (patches.${pname} or []);
|
||||
|
||||
nativeBuildInputs = (args.nativeBuildInputs or []) ++ [ perl self.qmake ];
|
||||
propagatedBuildInputs = args.qtInputs ++ (args.propagatedBuildInputs or []);
|
||||
|
|
Loading…
Reference in a new issue