diff options
author | Daniel Nagy <danielnagy@posteo.de> | 2023-10-29 23:15:00 +0100 |
---|---|---|
committer | Daniel Nagy <danielnagy@posteo.de> | 2023-10-30 19:15:00 +0100 |
commit | af99f7c79682cde7bc9f2cf6704949b0700a32e5 (patch) | |
tree | 1c7cb67ddab245d2b4bc8d3ec9d4fb285facb1b0 /pkgs/development/compilers/chicken | |
parent | fe1e9d524b7ac9fac5f8be3ea2a7d177a5a4b4dc (diff) |
chickenPackages.chickenEggs.sdl-base: fix build on linux
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 89737e94f489..768ae6d64c41 100644 --- a/pkgs/development/compilers/chicken/5/overrides.nix +++ b/pkgs/development/compilers/chicken/5/overrides.nix @@ -68,7 +68,10 @@ in scheme2c-compatibility = old: addToNativeBuildInputs (lib.optionals (stdenv.system == "x86_64-darwin") [ pkgs.memorymappingHook ]) (addPkgConfig old); - sdl-base = addToBuildInputs pkgs.SDL; + sdl-base = old: + ((addToPropagatedBuildInputsWithPkgConfig pkgs.SDL old) // + # needed for sdl-config to be in PATH + (addToNativeBuildInputs pkgs.SDL old)); sdl2 = old: ((addToPropagatedBuildInputsWithPkgConfig pkgs.SDL2 old) // # needed for sdl2-config to be in PATH |