diff options
author | Daniel Nagy <danielnagy@posteo.de> | 2023-10-24 14:45:00 +0200 |
---|---|---|
committer | Daniel Nagy <danielnagy@posteo.de> | 2023-10-24 14:45:00 +0200 |
commit | 4e618602f0ae7be65753d51c8c62ccf3074d1118 (patch) | |
tree | 536de84e73e1bfae4df4a90bca14554b7e45b7cc /pkgs/development/compilers/chicken | |
parent | 1e386048cc8107bfb95b4306c5998b223c3ec699 (diff) |
chickenPackages.chickenEggs.sdl2: fix build on linux
Change needed since the enablement of `strictDeps = true`.
Diffstat (limited to 'pkgs/development/compilers/chicken')
-rw-r--r-- | pkgs/development/compilers/chicken/5/overrides.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/development/compilers/chicken/5/overrides.nix b/pkgs/development/compilers/chicken/5/overrides.nix index 270384565a4f..e1a5d5683ed5 100644 --- a/pkgs/development/compilers/chicken/5/overrides.nix +++ b/pkgs/development/compilers/chicken/5/overrides.nix @@ -69,7 +69,10 @@ in addToNativeBuildInputs (lib.optionals (stdenv.system == "x86_64-darwin") [ pkgs.memorymappingHook ]) (addPkgConfig old); sdl-base = addToBuildInputs pkgs.SDL; - sdl2 = addToPropagatedBuildInputsWithPkgConfig pkgs.SDL2; + sdl2 = old: + ((addToPropagatedBuildInputsWithPkgConfig pkgs.SDL2 old) // + # needed for sdl2-config to be in PATH + (addToNativeBuildInputs pkgs.SDL2 old)); sdl2-image = addToBuildInputs pkgs.SDL2_image; sdl2-ttf = addToBuildInputs pkgs.SDL2_ttf; soil = addToPropagatedBuildInputsWithPkgConfig pkgs.libepoxy; |