mirror of
https://gitlab.com/ahoneybun/nyxi-installer.git
synced 2025-05-12 11:04:02 -06:00
add development nix-shell file
This commit is contained in:
parent
725967fe25
commit
3e2ac09e37
1 changed files with 26 additions and 0 deletions
26
shell.nix
Normal file
26
shell.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{ pkgs ? import <nixpkgs> {} }:
|
||||
|
||||
pkgs.mkShell {
|
||||
buildInputs = with pkgs; [
|
||||
# Rust
|
||||
cargo
|
||||
rustc
|
||||
|
||||
# Compiler
|
||||
gnumake
|
||||
clang
|
||||
llvmPackages.libclang
|
||||
llvmPackages.clang
|
||||
|
||||
# System
|
||||
pkg-config
|
||||
util-linux
|
||||
];
|
||||
|
||||
shellHook = ''
|
||||
export LIBCLANG_PATH="${pkgs.llvmPackages.libclang.lib}/lib"
|
||||
export CLANG_PATH="${pkgs.llvmPackages.clang}/bin/clang"
|
||||
export RUST_BACKTRACE=1
|
||||
echo "Ready to make some rust!"
|
||||
'';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue