mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
sdlpop: fix --replace substitutions
- the first one seems OK, converted to a non-deprecated variant - the second one didn't match (anymore)
This commit is contained in:
parent
1162d07f20
commit
e5713cbb3d
1 changed files with 1 additions and 2 deletions
|
|
@ -39,8 +39,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
|
||||
preBuild = ''
|
||||
substituteInPlace src/Makefile \
|
||||
--replace "CC = gcc" "CC = ${stdenv.cc.targetPrefix}cc" \
|
||||
--replace "CFLAGS += -I/opt/local/include" "CFLAGS += -I${lib.getInclude SDL2}/include/SDL2 -I${SDL2_image}/include/SDL2"
|
||||
--replace-fail "CC = gcc" "CC = ${stdenv.cc.targetPrefix}cc"
|
||||
'';
|
||||
|
||||
# The prince binary expects two things of the working directory it is called from:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue