diff options
author | aszlig <aszlig@redmoonstudios.org> | 2017-04-23 22:30:17 +0200 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2017-04-23 23:08:07 +0200 |
commit | 8fafec586ef681d4b4196a6554f55d8e27fe7477 (patch) | |
tree | d7bd7899fc44673662b3224084b13322762e8bf3 /pkgs/show-qr-code | |
parent | b3d9a07086cb81e53e20837c96a3153453b0a123 (diff) |
pkgs: Improve callPackageScope customisation
By default callPackageWith adds an overrideDerivation attribute, but that won't work with our new package scopes, so we add an override attribute by ourselves without the overrideDerivation attribute. That aside, we now use functionArgs on not only the superset of packages but also for the scope utility functions (callPackage/callPackage_i686) that we pass down to our new package scope. If we didn't do that, the Nix expression of the subscope would always need to define callPackage and callPackage_i686 in their function arguments, regardless of whether it's needed or not. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'pkgs/show-qr-code')
0 files changed, 0 insertions, 0 deletions