mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
801e8b4d72
Switch the order in which the version-specific attributes are combined with args. Otherwise, if args such as 'branch' are overridden by an overlay or other derivation, the new value is replaced with the original when the sets are combined with //.
13 lines
307 B
Nix
13 lines
307 B
Nix
{ stdenv, callPackage, fetchpatch
|
|
# Darwin frameworks
|
|
, Cocoa, CoreMedia, VideoToolbox
|
|
, ...
|
|
}@args:
|
|
|
|
callPackage ./generic.nix (rec {
|
|
version = "4.2.1";
|
|
branch = "4.2";
|
|
sha256 = "090naa6rj46pzkgh03bf51hbqdz356qqckr2pw6pykc6ysiryak8";
|
|
darwinFrameworks = [ Cocoa CoreMedia VideoToolbox ];
|
|
} // args)
|