Created
October 29, 2017 14:44
-
-
Save Mic92/f4514c9671c9bb8f7cbe21c82d6daf70 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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