Skip to content

Instantly share code, notes, and snippets.

@cleverca22
Created November 20, 2019 09:11
Show Gist options
  • Save cleverca22/06b388c1ddd24e88c179f691b36a5590 to your computer and use it in GitHub Desktop.
Save cleverca22/06b388c1ddd24e88c179f691b36a5590 to your computer and use it in GitHub Desktop.
import os
def Settings( **kwargs ):
nixflags = os.getenv('NIX_CFLAGS_COMPILE')
return {
'flags': [ '-x', 'c++', '-std=c++1z', '-I/nix/store/sr4253np2gz2bpha4gn8gqlmiw604155-glibc-2.27-dev/include/' ] + nixflags.split(' '),
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment