File: shell.nix

package info (click to toggle)
rust-xkbcommon-sys 1.4.1-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 132 kB
  • sloc: ansic: 6; makefile: 4
file content (21 lines) | stat: -rw-r--r-- 421 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
let
  mozilla = import (builtins.fetchTarball https://github.com/mozilla/nixpkgs-mozilla/archive/master.tar.gz);
in

with (import <nixpkgs> {
  overlays = [mozilla];
});

mkShell {
  name = "ffmpeg-sys";

  buildInputs = [
    # For building.
    clang rustChannels.stable.rust pkg-config libxkbcommon
  ];

  RUST_BACKTRACE = 1;
  RUSTFLAGS = "-C target-cpu=native";

  LIBCLANG_PATH = "${llvmPackages.libclang}/lib";
}