Last active
January 29, 2024 23:47
-
-
Save hawkw/141cc4f4758a4c91090ff7064a5a596d to your computer and use it in GitHub Desktop.
omicron nix shell environment
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
scope@{ pkgs ? import <nixpkgs> { } }: | |
with pkgs; mkShell.override { stdenv = clangStdenv; } { | |
name = "buildomat"; | |
buildInputs = | |
[ | |
stdenv | |
cmake | |
rustup | |
pkg-config | |
openssl | |
libxml2 | |
postgresql | |
xmlsec | |
sqlite | |
libclang | |
(glibcLocales.override { locales = [ "en_US.UTF-8" ]; }) | |
] ++ lib.optional stdenv.isDarwin [ Security libiconv ]; | |
DEP_PQ_LIBDIRS = " ${postgresql.lib}/lib"; | |
LIBCLANG_PATH = "${libclang.lib}/lib"; | |
LOCALE_ARCHIVE = "${glibcLocales}/lib/locale/locale-archive"; | |
LC_ALL = "en_US.UTF-8"; | |
OPENSSL_DIR = "${openssl.dev}"; | |
OPENSSL_LIB_DIR = "${openssl.out}/lib"; | |
CARGO_TERM_COLOR = "always"; | |
RUST_BACKTRACE = "full"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment