mirror of
https://github.com/msfjarvis/gitice
synced 2025-08-14 10:37:01 +05:30
nix: update shell config
This commit is contained in:
parent
13f0536d63
commit
598fb1304e
1 changed files with 10 additions and 9 deletions
19
shell.nix
19
shell.nix
|
@ -1,15 +1,16 @@
|
||||||
with import <nixpkgs> { overlays = [ (import <rust-overlay>) ]; };
|
with import <nixpkgs> { overlays = [ (import <rust-overlay>) ]; };
|
||||||
mkShell {
|
mkShell {
|
||||||
RUSTFLAGS = "";
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
(rust-bin.selectLatestNightlyWith (toolchain:
|
(rust-bin.stable.latest.default.override {
|
||||||
toolchain.default.override {
|
extensions = [ "rust-src" "rustfmt-preview" ];
|
||||||
extensions = [ "rust-src" "rustfmt-preview" ];
|
targets =
|
||||||
}))
|
pkgs.lib.optionals pkgs.stdenv.isDarwin [ "aarch64-apple-darwin" ]
|
||||||
|
++ pkgs.lib.optionals pkgs.stdenv.isLinux
|
||||||
|
[ "x86_64-unknown-linux-musl" ];
|
||||||
|
})
|
||||||
pkg-config
|
pkg-config
|
||||||
openssl
|
openssl
|
||||||
clang_12
|
clang_13
|
||||||
] ++ lib.optionals stdenv.isDarwin [
|
] ++ lib.optionals stdenv.isDarwin
|
||||||
pkgs.darwin.apple_sdk.frameworks.Security
|
[ pkgs.darwin.apple_sdk.frameworks.Security ];
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue