mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-04 19:48:34 +03:00
17 lines
432 B
Nix
17 lines
432 B
Nix
{ lib
|
|
, SDL2
|
|
}:
|
|
|
|
# The following is list of overrides that take three arguments each:
|
|
# - lockAttrs: - an attrset from a Nim lockfile, use this for making constraints on the locked library
|
|
# - finalAttrs: - final arguments to the depender package
|
|
# - prevAttrs: - preceding arguments to the depender package
|
|
{
|
|
|
|
sdl2 = lockAttrs: finalAttrs:
|
|
{ buildInputs ? [ ], ... }: {
|
|
buildInputs = buildInputs ++ [ SDL2 ];
|
|
};
|
|
|
|
}
|