❯ gcc -v
Using built-in specs.
COLLECT_GCC=/nix/store/yvzq185jfr4vj74a9h4ap4dj4nnqbx7l-gcc-8.3.0/bin/gcc
COLLECT_LTO_WRAPPER=/nix/store/yvzq185jfr4vj74a9h4ap4dj4nnqbx7l-gcc-8.3.0/libexec/gcc/x86_64-unknown-linux-gnu/8.3.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with:
Thread model: posix
gcc version 8.3.0 (GCC)
-
-
Save sondr3/1cc5d130777a6264a5a43421152d377b 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
let | |
pkgs = import ./nix/nixpkgs.nix; | |
inherit (pkgs) | |
stdenv | |
; | |
rust = ( | |
pkgs.rustChannelOf { | |
date = "2019-11-01"; | |
channel = "nightly"; | |
} | |
).rust.override { | |
extensions = [ | |
"clippy-preview" | |
"rls-preview" | |
"rustfmt-preview" | |
"rust-analysis" | |
"rust-std" | |
"rust-src" | |
]; | |
}; | |
in | |
stdenv.mkDerivation { | |
name = "kitchenaid-rs"; | |
buildInputs = with pkgs; [ | |
diesel-cli | |
openssl | |
pkgconfig | |
postgresql_11 | |
sqlite | |
gcc9 | |
rust | |
]; | |
shellHook = '' | |
export PATH=$PWD/target/debug:$PATH | |
export PGDATA=$PWD/.tmp/database/ | |
''; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment