forked from railwayapp/cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathshell.nix
More file actions
32 lines (30 loc) · 646 Bytes
/
shell.nix
File metadata and controls
32 lines (30 loc) · 646 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{ pkgs ? import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/50ab793786d9.tar.gz") {
overlays = [
(import (fetchTarball "https://github.com/oxalica/rust-overlay/archive/475826b105eb.tar.gz"))
];
}
}:
let
rust = with pkgs;
rust-bin.stable.latest.minimal;
basePkgs = with pkgs;
[
cmake
rust
act
cargo-zigbuild
cargo-release
];
# macOS only
inputs = with pkgs;
basePkgs ++ lib.optionals stdenv.isDarwin
(with darwin.apple_sdk.frameworks; [
Security
SystemConfiguration
CoreServices
]);
in
pkgs.mkShell
{
buildInputs = inputs;
}