mirror of
https://github.com/natsukagami/youmubot.git
synced 2025-05-24 01:00:49 +00:00
Update nix inputs
This commit is contained in:
parent
99689a21f9
commit
acc0e339a0
2 changed files with 13 additions and 11 deletions
|
@ -2,6 +2,7 @@
|
|||
description = "A discord bot for Dự Tuyển Tổng Hợp 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue