mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-01 01:33:20 +00:00
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 New Issue
Block a user