From 3660e45ae5abceb0e1443c42ebf70f4491a9de3b Mon Sep 17 00:00:00 2001 From: Ashhhleyyy Date: Sun, 18 Dec 2022 21:29:35 +0000 Subject: [PATCH] fix: rust nightly please --- flake.lock | 30 +++++++++++++++--------------- flake.nix | 5 +++-- 2 files changed, 18 insertions(+), 17 deletions(-) diff --git a/flake.lock b/flake.lock index ac0965d..d61bcd7 100644 --- a/flake.lock +++ b/flake.lock @@ -10,11 +10,11 @@ "rust-overlay": "rust-overlay" }, "locked": { - "lastModified": 1669853699, - "narHash": "sha256-SvyPRwJeET7PCifBOvu+reQUUlyc4Ya1K37GrtZyiXY=", + "lastModified": 1670900067, + "narHash": "sha256-VXVa+KBfukhmWizaiGiHRVX/fuk66P8dgSFfkVN4/MY=", "owner": "ipetkov", "repo": "crane", - "rev": "0428181b7b8f619e71095cf2fab051bccdf10041", + "rev": "59b31b41a589c0a65e4a1f86b0e5eac68081468b", "type": "github" }, "original": { @@ -26,11 +26,11 @@ "flake-compat": { "flake": false, "locked": { - "lastModified": 1650374568, - "narHash": "sha256-Z+s0J8/r907g149rllvwhb4pKi8Wam5ij0st8PwAh+E=", + "lastModified": 1668681692, + "narHash": "sha256-Ht91NGdewz8IQLtWZ9LCeNXMSXHUss+9COoqu6JLmXU=", "owner": "edolstra", "repo": "flake-compat", - "rev": "b4a34015c698c7793d592d66adbab377907a2be8", + "rev": "009399224d5e398d03b22badca40a37ac85412a1", "type": "github" }, "original": { @@ -86,11 +86,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1669809720, - "narHash": "sha256-RMT77f6CPOYtLLQ2esj+EJ1BPVWxf4RDidjrSvA5OhI=", + "lastModified": 1671268780, + "narHash": "sha256-9Okbivo10bcXEGCtmAQNfJt1Zpk6B3tjkSQ2CIXmTCg=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "227de2b3bbec142f912c09d5e8a1b4e778aa54fb", + "rev": "80c24eeb9ff46aa99617844d0c4168659e35175f", "type": "github" }, "original": { @@ -136,11 +136,11 @@ ] }, "locked": { - "lastModified": 1667487142, - "narHash": "sha256-bVuzLs1ZVggJAbJmEDVO9G6p8BH3HRaolK70KXvnWnU=", + "lastModified": 1670034122, + "narHash": "sha256-EqmuOKucPWtMvCZtHraHr3Q3bgVszq1x2PoZtQkUuEk=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "cf668f737ac986c0a89e83b6b2e3c5ddbd8cf33b", + "rev": "a0d5773275ecd4f141d792d3a0376277c0fc0b65", "type": "github" }, "original": { @@ -155,11 +155,11 @@ "nixpkgs": "nixpkgs_2" }, "locked": { - "lastModified": 1670380307, - "narHash": "sha256-7fJN5ndnE8YbrrtYdqMo3gDV/BW37M4wNBRhjdfP/XY=", + "lastModified": 1671243596, + "narHash": "sha256-vQ1q6uwx2gKsHbQVhkq17nT8HwUmRbIG8cJVFafNb5s=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "fc98242f5f49d39b8fd3a611c146741a35dc012d", + "rev": "905db21103d646ddc1eb81920e05180e6e2b6734", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 70bcf47..f090f8d 100644 --- a/flake.nix +++ b/flake.nix @@ -38,8 +38,8 @@ inherit cargoArtifacts src buildInputs; }; - rust-toolchain = pkgs.rust-bin.stable.latest.default; - rust-dev-toolchain = pkgs.rust-bin.stable.latest.default.override { + rust-toolchain = pkgs.rust-bin.nightly."2022-12-17".default; + rust-dev-toolchain = pkgs.rust-bin.nightly."2022-12-17".default.override { extensions = [ "rust-src" "rust-analyzer" ]; }; in @@ -78,6 +78,7 @@ nativeBuildInputs = with pkgs; [ rust-dev-toolchain bintools + gdb ]; }; });