Don't strip!

This commit is contained in:
Benson Chu 2024-07-14 17:20:24 -05:00
parent 67e731c54b
commit d55ea4953e
2 changed files with 6 additions and 1 deletions

View file

@ -4,6 +4,7 @@ inputs:
mps-debug = prev.mps.overrideAttrs (old: {
pname = old.pname + "-debug";
env.NIX_CFLAGS_COMPILE = old.env.NIX_CFLAGS_COMPILE + " -g -DCONFIG_VAR_COOL";
dontStrip = true;
});
})
]

View file

@ -71,13 +71,17 @@
# };
};
packages."${system}" = {
mps-debug = pkgs.mps-debug;
};
devShells."${system}" = {
default = pkgs.mkShell {
# packages = with pkgs; [mps-debug];
# nativeBuildInputs = with pkgs; [ mps-debug ] ++ pkgs.emacs.nativeBuildInputs;
# buildInputs = pkgs.emacs.buildInputs;
packages = with pkgs; [ mps-debug ];
inputsFrom = with pkgs; [ emacs ];
# inputsFrom = with pkgs; [ emacs ];
shellHook = ''
export MPS_LIB="${pkgs.mps-debug}/lib"