Update nix inputs

This commit is contained in:
Natsu Kagami 2022-03-31 13:15:56 -04:00
parent 99689a21f9
commit acc0e339a0
Signed by: nki
GPG key ID: 7306B3D3C3AD6E51
2 changed files with 13 additions and 11 deletions

View file

@ -2,6 +2,7 @@
description = "A discord bot for D Tuyn Tng Hp server";
inputs = {
naersk.url = "github:nix-community/naersk";
naersk.inputs.nixpkgs.url = "github:nixos/nixpkgs";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, naersk, flake-utils }: flake-utils.lib.eachDefaultSystem (system:
@ -34,7 +35,8 @@
# `nix develop`
devShell = pkgs.mkShell {
nativeBuildInputs = (with pkgs; [ rustc cargo ]) ++
nativeBuildInputs =
(with pkgs; [ rustc cargo rust-analyzer rustfmt ]) ++
nixpkgs.lib.optionals (nixpkgs.lib.strings.hasSuffix "darwin" system) (with pkgs; [
libiconv
darwin.apple_sdk.frameworks.Security