Skip to content

Instantly share code, notes, and snippets.

@Mic92
Created October 29, 2017 14:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Mic92/f4514c9671c9bb8f7cbe21c82d6daf70 to your computer and use it in GitHub Desktop.
Save Mic92/f4514c9671c9bb8f7cbe21c82d6daf70 to your computer and use it in GitHub Desktop.
with import <nixpkgs> {};
systemd.overrideDerivation (old: {
NIX_CFLAGS_COMPILE = "-fsanitize=address ${old . CFLAGS or ""}";
buildInputs = [
cryptsetup
] ++ old.buildInputs;
nativeBuildInputs = [
gcc7
meson
ninja
m4
] ++ old.nativeBuildInputs;
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment