From 533503e2e41f66ed0a46a4179e144b05c452b51d Mon Sep 17 00:00:00 2001 From: Alex Shelkovnykov Date: Mon, 27 Nov 2023 20:06:59 -0300 Subject: [PATCH] build: restore removed build packages --- rust/flake.lock | 16 +++++++--------- rust/flake.nix | 4 +++- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/rust/flake.lock b/rust/flake.lock index 53b75cc..c97117b 100644 --- a/rust/flake.lock +++ b/rust/flake.lock @@ -34,25 +34,23 @@ "type": "github" }, "original": { - "owner": "numtide", - "repo": "flake-utils", - "type": "github" + "id": "flake-utils", + "type": "indirect" } }, "nixpkgs": { "locked": { - "lastModified": 1700612854, - "narHash": "sha256-yrQ8osMD+vDLGFX7pcwsY/Qr5PUd6OmDMYJZzZi0+zc=", + "lastModified": 1700794826, + "narHash": "sha256-RyJTnTNKhO0yqRpDISk03I/4A67/dp96YRxc86YOPgU=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "19cbff58383a4ae384dea4d1d0c823d72b49d614", + "rev": "5a09cb4b393d58f9ed0d9ca1555016a8543c2ac8", "type": "github" }, "original": { - "owner": "NixOS", + "id": "nixpkgs", "ref": "nixos-unstable", - "repo": "nixpkgs", - "type": "github" + "type": "indirect" } }, "root": { diff --git a/rust/flake.nix b/rust/flake.nix index a95d192..3f2587a 100644 --- a/rust/flake.nix +++ b/rust/flake.nix @@ -29,10 +29,12 @@ "rustfmt" "rust-src" ]) + pkgs.autoconf-archive pkgs.cargo-watch pkgs.iconv - pkgs.urcrypt pkgs.llvmPackages.clang + pkgs.pkg-config + pkgs.urcrypt ] ++ (nixpkgs.lib.lists.optional (parsedSystem.kernel.name != "darwin") pkgs.gdb); # nixpkgs won't build gdb for darwin };