mps no longer has a NIX_CFLAGS_COMPILE

This commit is contained in:
Benson Chu 2024-09-06 13:32:04 -05:00
parent da2fbf5f6c
commit e405ca60c0

View file

@ -6,8 +6,7 @@ inputs:
# Need to do this to patch dwarf information. For some reason, # Need to do this to patch dwarf information. For some reason,
# stdenv copies the source into /build/source, and then builds # stdenv copies the source into /build/source, and then builds
# from there, leaving all the dwarf information hanging. # from there, leaving all the dwarf information hanging.
env.NIX_CFLAGS_COMPILE = env.NIX_CFLAGS_COMPILE = "-fdebug-prefix-map=/build/source=${old.src}";
old.env.NIX_CFLAGS_COMPILE + " " + "-fdebug-prefix-map=/build/source=${old.src}";
dontStrip = true; dontStrip = true;
}); });
}) })