Skip to content

Commit

Permalink
Add manual dependencies to Nix shell
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan-Velickovic committed Nov 28, 2023
1 parent a48259f commit ce876ac
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ let
pkgs = import <nixpkgs> { overlays = [ rust_overlay ]; };
rust = pkgs.rust-bin.fromRustupToolchainFile ./examples/rust/rust-toolchain.toml;
llvm = pkgs.llvmPackages_11;
manual_deps = with pkgs.buildPackages; [
texlive.combined.scheme-full
pandoc
librsvg
];
in
pkgs.mkShell {
buildInputs = with pkgs.buildPackages; [
Expand All @@ -19,7 +24,7 @@ in
# expect is only needed for CI testing but we include it for
# completeness
expect
];
] ++ manual_deps;
hardeningDisable = [ "all" ];
# Need to specify this when using Rust with bindgen
LIBCLANG_PATH = "${llvm.libclang.lib}/lib";
Expand Down

0 comments on commit ce876ac

Please sign in to comment.