repo.or.cz
/
NixPkgs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git]
/
pkgs
/
development
/
libraries
/
memstream
/
setup-hook.sh
blob
09aabe748841151d5ab7da6b1e8f0a7b58a74fb0
1
useMemstream
() {
2
export
NIX_CFLAGS_COMPILE
=
"
${NIX_CFLAGS_COMPILE-}
${NIX_CFLAGS_COMPILE:+ }
-include memstream.h"
;
3
export
NIX_LDFLAGS
=
"
${NIX_LDFLAGS-}
${NIX_LDFLAGS:+ }
-lmemstream"
;
4
}
5
6
postHooks
+=(
useMemstream
)