-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCI.nix
More file actions
17 lines (17 loc) · 752 Bytes
/
Copy pathCI.nix
File metadata and controls
17 lines (17 loc) · 752 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
let pkgs = import (builtins.fetchTarball https://github.com/NixOS/nixpkgs/archive/nixpkgs-unstable.tar.gz) {
config.allowUnfree = true;
overlays = [
(import (fetchTarball "https://github.com/oxalica/rust-overlay/archive/master.tar.gz"))
];
};
rustc = pkgs.rust-bin.stable.latest.default.override { extensions = ["rust-src"];};
cargo = pkgs.rust-bin.stable.latest.default;
rustPlatform = pkgs.makeRustPlatform { rustc = rustc; cargo = cargo;};
in
pkgs.mkShell {
inputsFrom = [ (pkgs.callPackage ./default.nix { inherit rustPlatform; }) ];
buildInputs = [
(import (builtins.fetchGit { url = "https://github.com/ash30/freeswitch"; ref = "nix"; rev = "afc4a0997c439f71731a85a1f1f0b8c85262b792";}) {})
pkgs.pkg-config
];
}