From e405ca60c09eb572d78c2cddb66b15adabb53208 Mon Sep 17 00:00:00 2001 From: Benson Chu Date: Fri, 6 Sep 2024 13:32:04 -0500 Subject: [PATCH] mps no longer has a NIX_CFLAGS_COMPILE --- common/overlays.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/common/overlays.nix b/common/overlays.nix index 853198f..f617670 100644 --- a/common/overlays.nix +++ b/common/overlays.nix @@ -6,8 +6,7 @@ inputs: # Need to do this to patch dwarf information. For some reason, # stdenv copies the source into /build/source, and then builds # from there, leaving all the dwarf information hanging. - env.NIX_CFLAGS_COMPILE = - old.env.NIX_CFLAGS_COMPILE + " " + "-fdebug-prefix-map=/build/source=${old.src}"; + env.NIX_CFLAGS_COMPILE = "-fdebug-prefix-map=/build/source=${old.src}"; dontStrip = true; }); })