mirror of
https://github.com/roc-lang/roc.git
synced 2024-09-11 18:58:24 +03:00
Add missing requirements for running in pure nix-shell
This also switches from rustup to rustc because we only run on stable and do not need nightly.
This commit is contained in:
parent
b3dd488371
commit
0b8bd226ef
@ -29,18 +29,25 @@ let
|
||||
[ ];
|
||||
llvm = pkgs.llvm_10;
|
||||
lld = pkgs.lld_10; # this should match llvm's version
|
||||
clang = pkgs.clang_10; # this should match llvm's version
|
||||
zig = import ./nix/zig.nix { inherit pkgs isMacOS; };
|
||||
inputs =
|
||||
[
|
||||
# build libraries
|
||||
pkgs.rustup
|
||||
pkgs.rustc
|
||||
pkgs.cargo
|
||||
pkgs.cmake
|
||||
pkgs.git
|
||||
pkgs.python3
|
||||
llvm
|
||||
clang
|
||||
pkgs.valgrind
|
||||
pkgs.pkg-config
|
||||
zig
|
||||
# llb deps
|
||||
pkgs.libffi
|
||||
pkgs.libxml2
|
||||
pkgs.xorg.libX11
|
||||
pkgs.zlib
|
||||
# faster builds - see https://github.com/rtfeldman/roc/blob/trunk/BUILDING_FROM_SOURCE.md#use-lld-for-the-linker
|
||||
lld
|
||||
|
Loading…
Reference in New Issue
Block a user